Search Issue Tracker
Fixed
Fixed in 2.5.3, 3.0.0
Votes
0
Found in [Package]
2.5.2
3.0.0-pre.1
Issue ID
XRIT-107
Regression
No
"NullReferenceException" is thrown when "Affordance Theme Datum" is not set
How to reproduce:
1. Open the attached project "VR-Prototyping-2.zip"
2. Enter Play Mode
Expected results: No errors are thrown in the Console window
Actual results: "NullReferenceException" is thrown
Reproducible with: 2.5.2, 3.0.0-pre.1 (2021.3.34f1, 2022.3.17f1, 2023.2.4f1, 2023.3.0b1)
Reproducible on: Windows 11 22H2
Not reproducible on: 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.0.0):
Fixed a bug where a `NullReferenceException` was thrown when `Affordance Theme Datum` was not set. If it is null, an error is logged and the `AudioAffordanceReceiver` is disabled, but no exception is thrown.
Resolution Note (fix version 2.5.3):
Fixed a bug where a `NullReferenceException` was thrown when `Affordance Theme Datum` was not set. If it is null, an error is logged and the `AudioAffordanceReceiver` is disabled, but no exception is thrown.