Search Issue Tracker
Fixed
Fixed in 3.0.8, 3.1.2
Votes
0
Found in [Package]
3.0.7
3.1.0-pre.1
3.1.0
Issue ID
XRIT-247
Regression
No
[XRI XR Device simulator] "NullReferenceException: Object reference not set to an instance of an object" when clicking on a interactable through UIToolkit UX
How to reproduce:
1. Open the “ AR-Template.zip “ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. In the Game view click on the “GameVariant“ GameObject (Blue Cube)
5. Then hover over the white circle in the Game view (The purple Cube should be clipping the white circle)
6. Observe the Console window
Expected result: No error “NullReferenceException: Object reference not set to an instance of an object“ spanned in the Console
Actual result: Error “NullReferenceException: Object reference not set to an instance of an object“ spanned in the Console
Reproducible with: 3.0.7 (2022.3.59f1, 6000.0.41f1), 3.1.0-pre.1, 3.1.0 (2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6)
Reproducible environment: macOS 15.3.1 (M4 Max), Windows 11 (Reporters)
Not reproducible environment: No other environment tested
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 3.1.2):
Fixed a `NullReferenceException` when using UI Toolkit with the XR Ray Interactor caused by trying to retrieve a `Canvas` component reference from a parent object which does not exist when using UI Toolkit.
Note that XRI does not yet have full support for UI Toolkit.
Resolution Note (fix version 3.0.8):
Fixed a `NullReferenceException` when using UI Toolkit with the XR Ray Interactor caused by trying to retrieve a `Canvas` component reference from a parent object which does not exist when using UI Toolkit.
Note that XRI does not yet have full support for UI Toolkit.