Search Issue Tracker

Not Reproducible



Found in


Issue ID




Script component does not get attached if any script contains syntax errors

Inspector Functionality


To reproduce:
1. Open the attached project (it contains the main camera and a script attached to it which intentionally cause some compiler errors)
2. Open the test scene
3. Select the main camera
4. Add Component -> New Script -> Create And Add
5. Notice that the file gets created but is not attached to the object
6. Remove the first script from the main camera object
7. Try to Add Component -> New Script -> Create And Add again
8. See that the result is the same

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.