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

Scripting

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.