Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Crash When Using With VRChat #39

Closed
gompocp opened this issue Mar 3, 2021 · 4 comments
Closed

Crash When Using With VRChat #39

gompocp opened this issue Mar 3, 2021 · 4 comments
Labels
bug Something isn't working need more info

Comments

@gompocp
Copy link

gompocp commented Mar 3, 2021

Even on the current latest version of Explorer
You can consistently crash in VRChat when opening the menu by

  • Open the game
  • When you spawn in your home world
  • Open explorer
  • Close the menu
  • Switch world
  • When you load into the new world
  • Open explorer
  • Bam you have successfully crashed yourself 💯

    There is no useful information in the logs.
    You can however avoid this by switching the scene you are looking at to DontDestroyOnLoad before switching world leading me to believe this most likely is an issue because of the way VRChat handles loading scenes and unloading them. Also just a bit of extra weirdness if you avoid the crash like I mentioned above you don't appear to crash again (until you restart the game) even if you stay on the "world scene" and switch world
@sinai-dev
Copy link
Owner

Unable to reproduce, so two questions:

  • Which world did you swap to?
  • Do you have any other mods enabled?

@sinai-dev sinai-dev added bug Something isn't working need more info labels Mar 3, 2021
@gompocp
Copy link
Author

gompocp commented Mar 3, 2021

The plot thickens and I think I've figured it out.

  • I have no other mods running
  • It happens when you rejoin your current world or join another instance of the world you are currently in

@gompocp gompocp changed the title Crash When Using VRChat Crash When Using With VRChat Mar 3, 2021
@sinai-dev
Copy link
Owner

Ah ok, yeah I can see that being a problem, currently UnityExplorer only checks if the name of the active scene has changed, so if the name is identical then that would cause issues.

I'll throw something together quickly to track the active scenes by their handle instead of just the name, that should solve this I think.

@sinai-dev
Copy link
Owner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working need more info
Projects
None yet
Development

No branches or pull requests

2 participants