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

Package: XR Interaction Toolkit

-

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

  1. 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.

  2. 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.

Add comment

Log in to post comment