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
Comments (1)
-
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
- 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:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-71823