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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
This is a duplicate of issue #498608