Search Issue Tracker
Active
Votes
0
Found in
2.5.0
Issue ID
UUM-147687
Regression
No
“NullReferenceException” errors spammed in Console after resetting Composition Layer component on Cylinder Layer UI Panel
Steps to reproduce:
1. Create new Unity project using Universal 3D Template
2. Open Package Manager window
3. Find and install XR Composition Layers package
4. In Hierarchy window create Cylinder Layer Panel UI and select it
5. In Inspector window > Composition Layer press on kebab button
6. Select “Reset”
7. Observe the Console window
Actual results: “NullReferenceException: Object reference not set to an instance of an object” errors are spammed in the Console window
Expected results: No errors are spammed in the Console window
Reproducible with versions: 2.5.0 (6000.3.20f1, 6000.5.4f1, 6000.6.0b5, 6000.7.0a3)
Not reproducible with versions:
Can’t test with versions: 6000.0.78f1 (XR Composition Layers package package is not available)
Tested on (OS): macOS Tahoe 26.5.2 (M1)
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.XR.CompositionLayers.UIInteraction.InteractableUIMirror.SyncLayerUIScaleWithLayerType () (at ./Library/PackageCache/com.unity.xr.compositionlayers@2843cb312e13/Runtime/UIInteraction/InteractableUIMirror.cs:318)
Unity.XR.CompositionLayers.UIInteraction.InteractableUIMirror.Update () (at ./Library/PackageCache/com.unity.xr.compositionlayers@2843cb312e13/Runtime/UIInteraction/InteractableUIMirror.cs:218)
UnityEngine.StackTraceUtility:ExtractStringFromExceptionInternal(Object, String&, String&) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:50)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- LineRenderer using URP SpriteLitDefault Material becomes invisible when animating its "Material._Renderer Color" property and disabling and reenabling the GameObject
- Space is missing between StyleSheet and owning document name when viewing inherited StyleSheets in context mode
- [SearchContext] Reference fields should show a mixed-value indicator ("-") when multiple objects with different references are selected
- Documentation Changelog and Licenses links for Multiplayer Center package redirect to missing pages
- AudioClip.loadState reports Loaded instead of Unloaded when AudioSettings.Reset() is called on a UnityWebRequest-loaded clip
Add comment