Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Inspector Bug on Audio Asset missing #36

Closed
StinkySteak opened this issue May 15, 2024 · 1 comment
Closed

[Bug] Inspector Bug on Audio Asset missing #36

StinkySteak opened this issue May 15, 2024 · 1 comment
Labels
Resolved Problem addressed or bug fix will be released

Comments

@StinkySteak
Copy link

image

The inspector will not draw if the audio file is missing. Thus we have to go to debug mode to fix it, because anything is not clickable

Steps To Reproduce

  1. Create a sound File Object
  2. Attach an Audio into It
  3. Delete the Audio Asset
NullReferenceException: Object reference not set to an instance of an object
JSAM.JSAMEditor.SoundFileObjectEditor.OnInspectorGUI () (at Library/PackageCache/com.brogrammist.jsam@89243ec951/Editor/SoundFileObjectEditor.cs:291)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <cd89fd1ce037419f95985196f5aeee4d>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Unity Version: 2021.21f1
JSAM: 3.0.0-preview 6

@jackyyang09
Copy link
Owner

Sorry for the delay, this issue has now been fixed as of Version 3.0.1

@jackyyang09 jackyyang09 added the Resolved Problem addressed or bug fix will be released label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolved Problem addressed or bug fix will be released
Projects
None yet
Development

No branches or pull requests

2 participants