StressLevelZero / MarrowSDK-Legacy

MIT License
285 stars 39 forks source link

Unusual Custom Avatar Causing Freezes, Potential Softlock #20

Open Mattshark89 opened 2 years ago

Mattshark89 commented 2 years ago

I'd like to report a bug I've not seen anywhere else. Platform: Quest 2

One certain custom avatar I created is loading perfectly fine in the bodylog. It does not have the common weird overlapping-other-models issue at all. Once I try to switch to it, whether by the cord or the apply button, the game freezes and gets all glitchy (see screenshot), and after about 30 seconds it reloads me into the hub before freezing again. Rebooting the game softlocks you out of that save unless you have the cord and switch characters before loading back in.

image

I have a video recording and the Unity project I'd like to share. Wish the game would just crash so I could get a log...

Mattshark89 commented 2 years ago

It may be an issue with the fbx itself? Setting up the avatar from scratch (tried it literally more than five times) resulted in the same consistent in-game issues. I have gotten one other custom avatar to work with no hitches.

Greased-Scotsman commented 2 years ago

Not sure about the custom Avatar issue itself, but we'll look into why the fallback avatar isn't forcing you into a vanilla/known-good avatar.

Mattshark89 commented 2 years ago

If you want to try and replicate the issue, here's a build for Quest 2. (Note the model is a custom one, not ripped) Broken_Avatar.zip

rBrenneke commented 2 years ago

I am experiencing a very similar issue as Mattshark89 posted, however on a valve index headset. The custom avatar will seem to load into the body mall correctly, with stats that make sense, but when selecting the avatar the game will crash instantly. Upon attempting to reload the game the initial load screen will work but the game will freeze on a black screen when the model attempts to load as the main menu pops up.

Greased-Scotsman commented 2 years ago

To recover and force yourself into a known-working Avatar, you can do the following:

Close the game and back up your save folder!

On PCVR, this is found here: C:\Users[username]\AppData\LocalLow\Stress Level Zero\BONELAB\Saves

On Quest, this is found here: This PC\Quest 2\Internal shared storage\Android\data\com.StressLevelZero.BONELAB\files\Saves

Be sure you have backed up your save folder!

Next, open the slot_0.save.json file in a text editor and look for the following two lines: "fallback_avatar": "someAvatarName", "current_avatar": "someAvatarName",

Change them so they look like this: "fallback_avatar": "", "current_avatar": "",

Restart the game. You will appear as Polyblank and can now switch to a safe/known-good Avatar.

Woogoo336 commented 2 years ago

I ran into this issue on PC, same as you described. I took a wild shot in the dark and changed the one thing that wasn't like my other avatars. It had finger bones that were "Connected" to the hand bone. I unconnected them in blender and then the avatar worked fine.