Search Issue Tracker
Fixed
Fixed in 6000.0.50f1, 6000.1.4f1, 6000.2.0a11
Votes
0
Found in
6000.2.0a11
Issue ID
UUM-104241
Regression
No
Binding a field to a type that inhertis from Unity.Object fails
Steps to reproduce:
- Open attached project "My Project"
- Select asset "Select Me"
- Notice that the popup field shows an item and can be changed
- Open Script Editor/Example.cs
- comment out line 2
- Now select the asset and notice the value is None, the binding has failed.
Actual results: Object is not bound when using a type that is not Object
Expected results: Object is bound
Reproducible with versions: 6.000.2.0a11
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): Windows
Notes:
- This is due to our binding code for Object references. The generic method used for Get and Set is hardcoded to Unity.Object
- SerializedPropertyHelpers.GetObjectRefPropertyValue and SerializedPropertyHelpers.SetObjectRefPropertyValue
Can this be made generic or can SerializedObjectReferenceBinding work with fields other than ObjectField?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment