Search Issue Tracker
Duplicate
Votes
0
Found in
4.5.0a2
Issue ID
580752
Regression
No
Duplicate script names in firstpass vs standard assemblies produces corrupted builds
To reproduce:
1. Open the attached project and "repro" scene
2. Observe that there are two 'MouseLook' scripts in the project, one in the root Assets folder and one inside Standard Assets / Character Controllers / Sources / Scripts. Note that this has not produced any compiler errors, as the two scripts are being compiled into different assemblies.
3. Observe that one of the scripts (the Standard Assets one) is attached to the main camera in the scene.
4. Make a development build of the project and run it.
5. Observe that the development console within the build reports that the build is corrupted.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #498608