Suddenly null reference exception spam when opening any game - worked fine yesterday

Feycat

Refugee
As per title. My friends and I were all playing a 20.3 game file, without betas opted-in. We played last night. As of today, no game will start for me. I get to creating player and then get null exception spam and have to manually end the process. This happens with our old game, when creating new games, new random gens and Navaz. I verified my files and one needed to be re-aquired - did that with no effect. Did a complete uninstall/reinstall, same thing. No effect, I still can't open any game.

Our game save opens fine in a friend's computer but he can't host. I can't even play a single player game at this point.

 
Post your latest log file. Use pastebin and post the link to it here. Instructions are in the pinned topic at the top of this forum.

 
Same here. played day before yesterday and now nothing works. nullreferenceexception whatever i tried (old game, new game, online game.)

 
IndexOutOfRangeException: Index was outside the bounds of the array.
at Archetypes.BuildUMA (Archetype _archetype, UMA.UMAData _umaData, SlotLibrary _slotLib, OverlayLibrary _overlayLib, Entity _entity, System.String _profileName, System.Boolean _showPreviewSlots, System.Boolean _useCustomColors, UnityEngine.Color hair, UnityEngine.Color eye, UnityEngine.Color skin, PlayerProfile _playerProfile) [0x00398] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EModelUMA.fullyBuildUMA () [0x00008] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EModelUMA.GenerateOneUMA (EntityClass _ec) [0x000f2] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EModelUMA.createModel (World _world, EntityClass _ec) [0x00048] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EModelUMA.Init (World _world, Entity _entity) [0x000ca] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at Entity.InitEModel () [0x00061] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at Entity.Init (System.Int32 _entityClass) [0x0000d] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EntityAlive.Init (System.Int32 _entityClass) [0x00000] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EntityPlayer.Init (System.Int32 _entityClass) [0x0002e] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EntityPlayerLocal.Init (System.Int32 _entityClass) [0x00000] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at EntityFactory.CreateEntity (EntityCreationData _ecd) [0x0017c] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at GameManager+<StartAsServer>d__138.MoveNext () [0x00531] in <39cf8b713b17414c9e5ddfff01d6df19>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <544fca0986d54eca88fc7c56e2a8b4b4>:0


That's your error. Something to do with the character you've chosen? Not my area of expertise, so maybe someone else can give you more info.

 
Your error is right after loading players.xml. I'd delete that, copy a backup of it somewhere first. Then re-verify and see if that helped.

If that doesn't fix it then I think you have to delete your player profile. You can do that from the launcher/Tools menu. Select Clean Game data.


I'm guessing it'll have to be my player profile. That pastebin is for a brand new Navaz gave that I didn't even manage to start, there shouldn't be any data in players.xml at all except maybe me.

Oof, ok just going into the menu with the player profile to delete it made the game lock up with spam. How do I manually delete my profile?

 
Last edited by a moderator:
Do you know how I can go into the files and delete my player profile, or where it is? Clicking on player profiles in the menu locks the game up, so that's definitely the issue!

 
Ahh, sorry, I didn't understand. I thought you meant at the main menu. I always launch from Steam so I forgot there was even a separate launcher!

Oookay, I did that, and when it opened up the new profile options, everything locked up again. It won't even let me create a new one to use after it erased the old one! And I verified all my game files too.

 
Last edited by a moderator:
Using the Clean game data... tool, check all the boxes except "Savegames" and press "Clean". After that, don't start the game. Go back to Steam and verify files again. Then try to start the game. If you don't have any local sp games that you are invested in, you could check the "Savegames" box as well.

image.png

 
I copied the save game and generated world onto a thumb drive so we won't lose it. My husband has been able to open the game fine on his computer, so it's not corrupted.

Okay, so that worked! I was able to create a new game!

Do you know if I can just delete my profile out of the players.xml doc without affecting the other two?

 
Do you know if I can just delete my profile out of the players.xml doc without affecting the other two?
I don't know what you mean. Other two what? Other two profiles? Are you the host for the game you are trying to recover?

If you want to be the host, copy the game from your husband's machine, since we know that works, and use that save instead of yours.

 
Yay! Thank you Beelzy, that erase-everything/verify/recreate character worked!

We copied the save back over and all 3 of us have all our stuff, despite me having had to recreate my character! :)

 
Back
Top