Jeffrey Lanters

Results 33 comments of Jeffrey Lanters

@petejungwirth, no. I should not do that. Can you post a screenshot of your console? On what platform, browser, Unity version and package version are you?

@petejungwirth This looks like the same problem, it's might be back due to a Unity update. The best tips I can give, since Unity is not letting us unload their...

Wait, what, I've just bumbed into an forum post by one of the devs of Unity speaking of a new functionality to unload Unity builds from JavaScript memory as I've...

@matthieu994 Just by simply unmounting the component where you're using the`Unity` component. That should throw errors before which should be gone right now.

FYI, this issue has been fixed in the recently published version [7.1.0](https://github.com/elraccoone/react-unity-webgl/releases/tag/7.1.1)! Since it does require Unity 2019.1 or newer, I'm going to leave this issue open as a knowledge...

@jsdu No, sorry. I've had contact with Unity. They've said me it's not possible, the only solution is upgrading to Unity 2019 or newer.

When using ReactUnityWebGL 8.0.0 for Unity 2020 unmounting and remounting should work without any problem. ![ezgif-6-ca996e0b1572](https://user-images.githubusercontent.com/3404617/91058237-830d7900-e628-11ea-8c9e-69352766ee25.gif)

I'm sorry, the problem is on Unity's side really with this issue. The main reason it's fixed in 8.0.0 and up is because it's supporting unity 2020.1 and up exclusively.

I am reopening this issue, since it is very similar to the problem which is introduced in Unity 2021.2 builds.

Status update; this issue is at the time of writing this still relevant. An error is thrown by Unity when the canvas is being unmounted before the Unity Application is...