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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment