miner28 / avatarimagereader Goto Github PK
View Code? Open in Web Editor NEWUdonSharp prefab for reading data written into avatar images
License: MIT License
UdonSharp prefab for reading data written into avatar images
License: MIT License
Currently there is no validation for ensuring that the RuntimeDecoder's avatar pedestal has an ID assigned to it, nor ensuring that the ID assigned to the pedestal actually matches the first linked ID on the RuntimeDecoder behavior.
Validating these potential failure cases will provide additional help with troubleshooting in the future.
please add a license to this project
When using AvatarImageReader in readonly mode, manually assigned avatar IDs won't get applied to the avatar pedestal, resulting in RuntimeDecoder just idling during runtime.
Possible solution:
After opening a new RuntimeDecoder's inspector for the first time, NullReferenceException is thrown:
NullReferenceException: Object reference not set to an instance of an object
AvatarImageReader.Editor.RuntimeDecoderEditor+<>c__DisplayClass29_0.<CreateInspectorGUI>b__8 (UnityEngine.UIElements.ChangeEvent`1[T] a) (at Packages/com.miner28.avatar-image-reader/Editor/RuntimeDecoderEditor.cs:182)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.DefaultDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.VisualElement.SendEvent (UnityEngine.UIElements.EventBase e) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEngine.UIElements.BaseField`1[TValueType].set_value (TValueType value) (at <b6a7e1825c0b45d3b0729282e86cc687>:0)
UnityEditor.UIElements.BindingExtensions+SerializedManagedEnumBinding.Release () (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.RemoveBinding (UnityEngine.UIElements.IBindable bindable) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.DoBindProperty (UnityEngine.UIElements.IBindable field, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper obj, UnityEditor.SerializedProperty property) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.BindPropertyWithParent (UnityEngine.UIElements.IBindable field, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.UIElements.BindingExtensions+SerializedObjectUpdateWrapper objWrapper, UnityEditor.SerializedProperty parentProperty) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.InspectorElement.PartialReset (UnityEditor.SerializedObject bindObject) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.InspectorElement.AssignExistingEditor (UnityEditor.Editor value) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.UIElements.EditorElement.Reinit (System.Int32 editorIndex) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.InspectorWindow.ProcessEditorElementsToRebuild (UnityEditor.Editor[] editors) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.InspectorWindow.RebuildContentsContainers () (at <a259d3c004024353a2c217da97495055>:0)
UnityEditor.InspectorWindow.RedrawFromNative () (at <a259d3c004024353a2c217da97495055>:0)
Package manifest can be accessed with a direct git URL via UPM when repository's root is inside the package folder
UPM package's version is stored in the manifest, version file is obsolete
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.