Search Issue Tracker
Fixed
Fixed in 3.1.3, 3.2.0
Votes
0
Found in [Package]
3.1.1
3.1.2
Issue ID
XRIT-267
Regression
No
XRI NulRef in stand alone profiler upon opening.
Issue:
When opening the Profiler (Standalone Process) in an XR Core project, it holds a single console error on startup related to the XR Interaction Toolkit.
{quote}System.NullReferenceException: Object reference not set to an instance of an object
at UnityEditor.XR.Interaction.Toolkit.Analytics.XRIAnalytics..cctor () [0x00000] in .\Library\PackageCache\com.unity.xr.interaction.toolkit@9b07900cb163\Editor\Analytics\XRIAnalytics.cs:32
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
{quote}
Steps to reproduce:
- Create a new VR Core template project.
- Go to Window > Analysis > Profiler (Standalone Process)
Actual results:
When the standalone profiler loads in a separate window it has the XRI console error.
Expected results:
The standalone profiler should load without console errors in a VR Core default template project.
Reproducible with versions:
3.1.1 & 3.1.2
Not reproducible with versions:
Did not attempt for repro on versions older than 3.1.1.
Can’t test with versions:
Did not attempt for repro on versions older than 3.1.1.
Tested on (OS):
Windows 11
Notes:
- Tested only in trunk & new 6000.1.0f1 release - but this probably is package specific and is likely to occur in all supported editor versions,
- This is probably a regression, so I set that flag in the bug. This issue will potentially require a bisection team work item.
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.2.0):
Fixed `NullReferenceException` in internal analytics code when getting the package version after opening the Profiler (Standalone Process) window.
Resolution Note (fix version 3.1.3):
Fixed `NullReferenceException` in internal analytics code when getting the package version after opening the Profiler (Standalone Process) window.