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
- "Invalid vertex attribute format" error message does not mention "bytes" when the data size is mismatched
- [Windows] About Unity window displays Editor version in two lines instead of one
- [Linux] "Add Component" menu goes under the screen when the menu extends beyond the display boundries
- High Editor GPU usage when Camera with RenderTexture and VFX Graph are in the scene, with Scene/Game tabs closed
- List in Inspector not resizing when exiting Play mode
This is a duplicate of issue #498608