Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2018.2.11f1
2018.3.0a1
2018.3.0b9
2019.1.0a1
Issue ID
1099297
Regression
Yes
Cannot add a script to an object when the script has precompilers inside of the class that is also inside of the namespace
How to reproduce:
1. Open attached project "repro_1099297"
2. Try to add a test script from the project view to GameObject inside the hierarchy
Expected result: script gets added
Actual result: unity throws an error
Reproducible with: 2018.2.11f1, 2018.2.17f1, 2018.3.0b11, 2019.1.0a9
Not reproducible with: 2017.4.16f1, 2018.1.9f2, 2018.2.10f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Add comment