Unity/PolySpatial GameController framework failing to load

I have a simple example of a motion matching (MxM for Unity) character controller that uses Unity’s input system and gamepad support. In editor the scene and inputs work as expected. When I build to headset the app stops at an initialization step where my game controller should kick in. The app doesn’t crash but my character is frozen in A-Pose and doesn’t respond to input.

I’m wondering if this error I’m seeing in the logs is what’s causing it? And if so how do I fix it?

error 15:56:11.724200-0700 PolySpatialProjectTemplate NSBundle file:///System/Library/Frameworks/GameController.framework/ principal class is nil because all fallbacks have failed

I’m using Xcode 16 beta 6 Unity 6000.0.17f1 VisionOS 2.0 beta 9

1 Like

same error. App crashes after launch. unity6000.0.29f1+xcode16.2.
NSBundle principal class is nil because all fallbacks have failed

Hi, did you ever figure this out? I’m getting the same error and not sure why.

I don’t know what caused it. But I don’t have this error now. I can describe the general operation, but I’m not sure if it’s useful.

  1. Make sure it runs fine in the editor
  2. Make sure the imported resources do not occupy too much memory (for example, using too many high-resolution textures)
  3. Select clean build when building
  4. xcode>Product>clean build folder
1 Like

Thanks for the advice! Everything runs fine in the editor and I don’t believe I’m taking up too much memory with high-resolution textures. Haven’t tried just selecting a clean build in xCode every time, though, I’ll give that a go.