We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried running the existing code in the vision os simulator. However, the following error occurred.
InvalidOperationException: Trying to access unloaded resource! [4804dc94-e572-4308-9fa4-523fea46bc56 (has 1 polyspatial refs, is not unity referenced): resource alive: False iid=-583802 name=Shader Graphs/MaskingShader type=Material Unity.PolySpatial.Internals.AssetRepresentation.get_Resource () (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/AssetManagement/AssetRepresentation.cs:39) Unity.PolySpatial.Internals.LocalAssetManager.GetRegisteredResource (Unity.PolySpatial.Internals.PolySpatialAssetID assetID) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/AssetManagement/LocalAssetManager.cs:522) Unity.PolySpatial.Internals.LocalAssetManager.GetRegisteredResource[T] (Unity.PolySpatial.Internals.PolySpatialAssetID assetID) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/AssetManagement/LocalAssetManager.cs:532) Unity.PolySpatial.Internals.SpriteRendererTracker.CreateUpdateSpriteRendererMaterialIfNeeded (Unity.PolySpatial.Internals.PolySpatialSpriteRendererTrackingData* destination) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/SpriteRendererTracker.cs:107) Unity.PolySpatial.Internals.SpriteRendererTracker.TransferObjectData (UnityEngine.SpriteRenderer source, Unity.PolySpatial.Internals.TrackingData1[Unity.PolySpatial.Internals.PolySpatialSpriteRendererTrackingData]* trackingData, Unity.PolySpatial.Internals.IChangeListWritable1[TEngineData] engineData) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/SpriteRendererTracker.cs:310) Unity.PolySpatial.Internals.UnityObjectTracker`3[TObject,TEngineData,TTrackingData].TransferObjectData (TObject source, TTrackingData* trackingData) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/UnityObjectTracker.cs:174) Unity.PolySpatial.Internals.UnityObjectTracker`3[TObject,TEngineData,TTrackingData].TransferObjectAndUpdateTrackingData (UnityEngine.Object o, TTrackingData* data) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/UnityObjectTracker.cs:474) Unity.PolySpatial.Internals.SpriteRendererTracker.TrackNewAndModifiedObjects (UnityEngine.Object[] changedObjects) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/SpriteRendererTracker.cs:590) Unity.PolySpatial.Internals.UnityObjectTracker`3[TObject,TEngineData,TTrackingData].FetchTypeCallback (Unity.PolySpatial.Internals.ObjectDispatcherProxy+TypeDispatchData data) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/UnityObjectTracker.cs:269) Unity.PolySpatial.Internals.ObjectDispatcherProxy.<.ctor>b__12_0 (UnityEngine.TypeDispatchData real) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/InternalBridge/BridgeUtils.cs:118) UnityEngine.ObjectDispatcher+<>c.<.cctor>b__54_0 (UnityEngine.Object[] changed, System.IntPtr changedID, System.IntPtr destroyedID, System.Int32 changedCount, System.Int32 destroyedCount, System.Action`1[T] callback) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Misc/ObjectDispatcher.bindings.cs:162) UnityEngine.ObjectDispatcher:DispatchTypeChangesAndClear(Type, Action`1, Boolean, Boolean) Unity.PolySpatial.Internals.ObjectDispatcherProxy:DispatchTypeChangesAndClear(Type, Action`1) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/InternalBridge/BridgeUtils.cs:180) Unity.PolySpatial.Internals.UnityObjectTrackerBase:FetchDirtyOneTypeIntoLists(Type) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/UnityObjectTracker.cs:30) Unity.PolySpatial.Internals.UnityObjectTracker`3:TrackObjectChanges(LayerMask) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/UnityObjectTracker.cs:249) Unity.PolySpatial.Internals.PolySpatialUnityTracker:TrackObjectChanges(LayerMask) (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/PolySpatialUnityTracker.cs:189) Unity.PolySpatial.Internals.PolySpatialUnitySimulation:Update() (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/Trackers/PolySpatialUnitySimulation.cs:148) Unity.PolySpatial.Internals.PolySpatialCore:PolySpatialAfterLateUpdate() (at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial/Runtime/PolySpatialCore.cs:638)
When will Vision OS be supported? Or is it currently being supported?
The text was updated successfully, but these errors were encountered:
Hi @Cardano-DoubleMe-Me ,
I tried glTFast on vision OS Simulator first time today. My discoveries so far:
But I managed to load a binary glTF successfully (via manual script and TextAsset.bytes).
TextAsset.bytes
How exactly do you load your glTF? Via TextAsset? From a Resources folder?
TextAsset
Sorry, something went wrong.
I created a generic Vision OS issue in #666.
Keeping this one open until we've solved your resource loading issue.
No branches or pull requests
I tried running the existing code in the vision os simulator. However, the following error occurred.
When will Vision OS be supported? Or is it currently being supported?
The text was updated successfully, but these errors were encountered: