UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

Hardlocked editor in latest version of Unity (2018.3)

Open sebastianwibergmicrosoft opened this issue 7 years ago • 7 comments

Latest version of Unity, latest version of this plugin. Importing any GLB-file (dropping it in Project-folder) causes Unity to hardlock.

Some info: Removed uap-plugin folder because it didn't compile properly.

Thanks for letting us know. We'll try to take a look soon.

blgrossMS avatar Feb 12 '19 02:02 blgrossMS

Did some investigation. First off, it hardlockes even in Unity 2017.4.20f2 (LTS). I stepped through the code and the problem occurs in the method private async Task _LoadNode(int nodeIndex) in GLTFSceneImporter.cs

When isMultithreading is set to always be false, the editor doesn't hardlock for me.

Would be great to create a PR which fixes this

ericob avatar Feb 25 '19 22:02 ericob

Sure, I have a branch ready, but I don't seem to have premission to push a branch.

Sure, I have a branch ready, but I don't seem to have premission to push a branch.

You should be able to fork the repo and create a branch that will allow you to submit a PR (see https://guides.github.com/activities/forking/)

kolodi avatar Feb 26 '19 10:02 kolodi

Good info, I did this. My PR got some weird warning/issue that isn't related to the work I have done. The code is there anyways.

Please update to the latest version and open a new issue if the problem persists. Thanks!

robertdorn83 avatar Feb 09 '24 08:02 robertdorn83