Search Issue Tracker
Fixed
Fixed in 2023.3.0a11
Votes
0
Found in
2023.3.0a8
Issue ID
UUM-53267
Regression
No
UxmlObjectReference object fields crash source code generator
Add the following script to a new project
```
using UnityEngine.UIElements;
[UxmlElement]
public partial class Example : VisualElement
{
[UxmlObjectReference]
public object someValue;
}
```
Examine the editor log, the following error will be found:
warning CS8785: Generator 'UxmlSerializedDataGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'NullReferenceException' with message 'Object reference not set to an instance of an object.'
[689/696 0s] ILPostProcess Library/Bee/artifacts/1900b0aEDbg.dag/post-processed/Assembly-CSharp.dll (+pdb)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor freezes after some time when using NavMeshQuery::Raycast
- Cube is rendered green when its color is set to black and using the Lift Gamma Gain Volume interpolation
- Inner and outer exceptions are not unrolled correctly
- [iOS][WebGL] Audio Clip doesn't play when Load Type is set to Decompress On Load and iOS Silent Mode is enabled
- Crash on EditorBuildSettings::GetConfigObject when closing a specific project
Add comment