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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
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.