Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0b8
Issue ID
844255
Regression
No
game object reference type doesn't get updated after recompilation when reference type was changed from GameObject
Steps to reproduce:
1. Open attached project "reference_bug.zip"
2. Open "0" scene
3. Select "Main Camera" in the hierarchy and make sure that "test" script component has "object 1" references
4. Open "test" script
5. Change "public GameObject object2" to "public BoxCollider2D object2" and save script
6. Select "Main Camera" in the hierarchy
Result: "test" script component is showing 2 GameObject references even though one of them is BoxCollider2D
Note: this happens if the GameObject type reference is changed to any of the component type it has
Reproduced with: 5.3.1f1, 5.4.1p4, 5.5.0b9
Workaround: drag "object 1" reference once again after recompilation process
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
- Visual Effects Graph Blackboard can't be scrolled horizontally
Add comment