icosa-foundation / open-brush-toolkit

Scripts and assets that help you use Open Brush and old Tilt Brush data in your creative projects.
Apache License 2.0
33 stars 7 forks source link

.glb file fail to import to Unity #7

Open DeepChallengerVR opened 1 year ago

DeepChallengerVR commented 1 year ago

Issue

Error message InvalidOperationException: Cannot find TiltBrushToolkitSettings.asset TiltBrushToolkit.TbtSettings.get_Instance () (at Assets/TiltBrush/Scripts/TbtSettings.cs:38)

Steps to reproduce

  1. Have a .glb file exported via OpenBrush
  2. Install this SDK in your Unity project
  3. Import the .glb file and add to scene. Observe the file imports correctly and you can see the .glb model in your scene.
  4. Copy and paste your Unity project into another directory, open this 'new' copy of your project.
  5. Observe issue.

Workaround

This issue was originally logged on tilt-brush-toolkit with no resolution other than workaround https://github.com/googlevr/tilt-brush-toolkit/issues/43