Search Issue Tracker
Not Reproducible
Votes
0
Found in
4.5.0a5
Issue ID
585415
Regression
Yes
Script component does not get attached if any script contains syntax errors
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Add comment