keep getting errors even if build succed

i just dont understand what is going on i keep getting errors that makes no sense (missing files that are not missing and in fact those files show in the build)
this is the log:

Summary: 1 warnings, 9 errors:

tar: Error exit delayed from previous errors.
[Unity] Initialize engine version: 5.1.0f3 (ec70b008569d)
[Unity] -----CompilerOutput:-stdout–exitcode: 1–compilationhadfailure: True–outfile: Temp/Assembly-CSharp.dll
[Unity] Compilation failed: 3 error(s), 0 warnings
[Unity] error CS2001: Source file Assets/ECMBolt.cs' could not be found [Unity] error CS2001: Source file Assets/Level.cs’ could not be found
[Unity] error CS2001: Source file Assets/SpawnManager.cs' could not be found [Unity] error CS2001: Source file Assets/ECMBolt.cs’ could not be found
[Unity] error CS2001: Source file Assets/Level.cs' could not be found [Unity] error CS2001: Source file Assets/SpawnManager.cs’ could not be found
[Unity] Initialize engine version: 5.1.0f3 (ec70b008569d)
[Unity] Finished exporting player successfully.
publishing finished successfully.

ofc none of those are missing or the game wouldnt work at all, also… they kinda ARE there, i see them in the upload build…

but… there are difference… the build on could is different from the build i have in my editor… there are part not working, and part missing for some reason (And no, none of them is anyway related to the mentioned files above its totally different files and gameobjects)

i just dont understand this cloud…

You can try to make a Clean Build All from the build dropdown menu and see if the errors are still present. In general if there is an build error, this does not mean the whole build needs to be stopped, in cases you would not trigger parts of the code during the game it would not have any effect. In this case it look odd though, especially as it lists the files 2 times.

  • To reproduce the exact behaviour of the UCB system (without library caching) you would need to checkout your project from your SMC into a clean folder.
  • Open it the project with the editor and build it to the default platform.
  • Switch to the target platform and build the project again to the target platform.
  • Then you need to take your Library folder and copy it to a different place (if you want to simulate Library Caching on).
  • Delete the project and check out a clean copy from your SMC again.
  • Copy the Library folder into the folder of your clean copy.
  • Open the project with the editor and build it to the target platform.

It might be very likely you see the same errors. But you can also post the full build log so we can have a look, as it includes more details then the normal log. :wink:

yeah seems it fixed something, ill keep checking if everything is fine in the next builds

ty

1 Like