-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
π Build Fails Due to Broken .anim Files β Works After Manual Deletion and Code Edits (HTC FOCUS VISION)
Issue:
While building a VIVE OpenXR-based Unity project for HTC VIVE VISION, the build fails due to corrupted or incompatible animation files:
Failed to load '.../RealisticHandInteraction(experimental)/Resources/Animations/LeftHandGrab.anim'.
File may be corrupted or was serialized with a newer version of Unity.
Same error occurs for RightHandGrab.anim.
What Worked:
I deleted both LeftHandGrab.anim and RightHandGrab.anim, and made small changes in the code to remove or bypass references to them. After this, the build succeeded and the app ran properly on HTC FOCUS VISION.
Steps to Reproduce:
- Open the project using Unity \2021.3.16f1
- Set up for Android build targeting HTC FOCUS VISION
- Try building
- Observe
.animfile errors - Delete the two
.animfiles inPackageCache - Remove related code
- Rebuild β now succeeds
Expected Behavior:
The plugin should not depend on incompatible or corrupted .anim files by default β especially when theyβre part of an experimental toolkit that may not be needed for basic functionality.
Suggested Fixes:
- Re-export those
.animfiles using a Unity LTS version - Mark the Realistic Hand Interaction animations as optional or guard them with defines
- Provide fallback/no-op prefabs or animations
- Add troubleshooting notes to README for VIVE VISION developers
Environment:
- Unity version: [e.g.2021.3.16f1]
- VIVE OpenXR Plugin:
[email protected] - Platform: Android (HTC VIVE VISION)
- Architecture: IL2CPP, ARM64
- XR Plugin: Unity OpenXR + VIVE OpenXR Toolkit
Metadata
Metadata
Assignees
Labels
No labels