Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.0f1
2019.1.0a1
2019.2.0a1
Issue ID
1117125
Regression
No
MonoBehaviour Components cannot be added through Editor when they are compiled into Assembly using Unity
Reproduction steps:
1. Open the Project inside of "Unity Assembly Bug.zip"
2. Play the "SampleScene" and select any "Dynamically added component" GameObject
3. Inside the Inspector click on "Add Component" and search for "ExampleBehaviour"
Expected: "ExampleBehaviour" appears in the list
Actual: "ExampleBehaviour" does not appear in the list
Reproduced on: 2017.4.20f2, 2018.3.6f1, 2019.1.0b4, 2019.2.0a6
Note:
- In the 2017.4 stream, Editor allows the addition of MonoBehaviour script inside of the .dll module, but when selected it will still display a warning due to the script not being loaded
Add comment
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
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2019.3):
The issue in this project is there is a .dll that has the same filename as a .asmdef. This will be fixed by emitting an actionable error about this.