ceorron
ceorron

Reputation: 1268

Unity project changes not in executable

I have a unity project that I am building to an executable (windows x86).

I have built the project previously and have made some changes to the project again that shows up in the unity editor and all is well with these changes.

These changes are however not showing up in the executable.

I have tried everything, rebuilding scripts, reload all, forcing the rebuilding of scripts through editor commands (https://forum.unity3d.com/threads/force-script-recompilation.176572/) and nothing seems to force the rebuilding of the exe with all the needed changes.

Unless there is a compiler bug that is extremely specific, then unity must be using a cached version. I am seeing it as entirely possible that I may have to reinstall unity to ensure full a rebuild is done.

Upvotes: 0

Views: 742

Answers (1)

Thalthanas
Thalthanas

Reputation: 506

For furter reference if people have the same problem;

When building exe on pc, it also creates another (Data)folder for exe to work with.

Quoting my comment;

Try to remove all the previous builded files. Exe and folders. Rebuild your project again and see what happens

With this as @ceorron said you are making sure that all changes are moved across.

Upvotes: 1

Related Questions