Search Issue Tracker
Fixed
Votes
1
Found in
2022.3.46f1
Issue ID
UUM-79904
Regression
Yes
NullReferenceException is thrown when selecting Audio Clip with Auto Play enabled
How to reproduce:
1. Open the attached “AudioClip.zip” project
2. Select the buttonhard.wav asset from Assets/buttonhard.wav
3. Ensure Auto Play is turned on (picture attached)
4. Deselect the asset and select it again
5. Observe the result
Expected result: No exception is thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object” is thrown when selecting the Audio Clip
Reproducible in: 2022.3.30f1, 2022.3.46f1
Not reproducible in: 2021.3.43f1, 2022.3.29f1, 6000.0.19f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested
-
Camobiwon
Sep 11, 2024 12:59
Hey, this is my issue, I noticed it when upgrading to 2022.3.33 but seems like it was from earlier. This happens with any audio clip and happens consistently, which can be a little annoying for selecting multiple clips to preview haha. A fix isn't urgent but would be nice to have :)
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-71823