Open IssueSyncBot opened 1 year ago
keveleigh
Ah yeah, we've been a little torn on how to approach this. I don't believe we have an explicit dependency on glTFast specifically, just a dependency on some glTF importer. I've been hesitant to enforce consumers of MRTK3 to import glTFast, as we had several issues filed about the MRTK2 importer and it conflicting with various other importers of choice (like TriLib's in https://github.com/microsoft/MixedRealityToolkit-Unity/issues/9653).
(not sure whether a git-dependency is possible and acceptable at that point?)
Unfortunately, this is another sticking point. Since glTFast is not distributed in either Unity's feed or the public MRTK feed, MRFT isn't able to resolve the dependency and it'll be a manual step for every developer who imports the input package. I've had some ideas around upgrading MRFT to support git dependencies, but I haven't had time to look into it yet.
NorbertNemec
Perhaps it is easiest to sidestep the issue by converting the two .glb files to something that Unity can handle directly?
In addition to this, https://github.com/atteneder/glTFast has changed its package name from com.attender.glfast to com.unity.cloud.gltfast since v5.0.4, so probably the input package should take this change into account (https://github.com/atteneder/glTFast/blob/1e85cf730c714fbe9badc1e370753f4fa4dcfe52/package.json#L2C12-L2C35),
Original issue opened by:
@NorbertNemec
Describe the bug
The package com.microsoft.mrtk.input contains .glb files that require the glTFast package to be imported in Unity. The MRTKDevTemplate depends on "com.atteneder.gltfast": "https://github.com/atteneder/glTFast.git#v4.8.3"
Any external project that depends on com.microsoft.mrtk.input shows errors on attempting to import the Left/RightControllerModel.prefab files.
To reproduce
Steps to reproduce the behavior:
Expected behavior
com.microsoft.mrtk.input should bring all its required dependencies (not sure whether a git-dependency is possible and acceptable at that point?)
Screenshots
Your setup (please complete the following information)
ISSUE MIGRATION
Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11294