None Posted October 17, 2019 Share Posted October 17, 2019 (edited) Game is crashing after the mission loads. What Happened: I had completed a Alien Base mission and then immediately flew the Skyhawk to a UFO crash site and commenced the mission. The map loads but crashes soon after. Artitas.EntityMutationException: A crash occurred during entity mutation - Mutation [ID: 31, ComponentID: 40, Next: Common.Components.FieldOfViewComponent, Added: True] ---> System.NullReferenceException: A fatal error occurred during Update[] - - Object reference not set to an instance of an object at Xenonauts.GroundCombat.SightSystem.<OnInitialize>m__4 (Xenonauts.GroundCombat.Components.LifeStatusComponent status) [0x00000] in <filename unknown>:0 My guess is that because I lost someone in combat from the previous mission, the LifeStatusComponent is being set to null/0, and that a check is not being made as to the health status of soldiers that properly handles the case of LifeStatus:Dead. Anywho, good luck and hope this helps! So Istvan Doczi may very well be the culprit (KIA from previous mission) Just before the crash, he has no life status and was the one that died on the previous mission. On Skyhawk: GlobalEntity 354 - Soldier [Name:Istvan Doczi - Rank:corporal] LifeStatus:Dead Just before crash: Team:human Player:xenonauts Actor: ID:14 HP:68|68 ControllerLink( To: Player: ID:13, Name:xenonauts, TeamLink( To: Team: ID:11, Name:human)) Addr:[X:10, Y:0, Z:49] Name:Lea Bertrand Body:human_xenonaut Rank:sergeantmajor LifeStatus:Conscious - , Items: Primary: 24 - Ballistic Sniper. Secondary: 26 - Ballistic Sub-Machine Gun. Actor: ID:31 HP:0|25 ControllerLink( To: Player: ID:13, Name:xenonauts, TeamLink( To: Team: ID:11, Name:human)) Addr:[X:9, Y:0, Z:49] Name:Istvan Doczi Body:human_xenonaut Rank:corporal - , Items: Primary: 40 - Ballistic Rifle. Secondary: 41 - Medikit. groundcombat-100.json strategy-27.json strategy-28.json output.log Edited October 17, 2019 by None Quote Link to comment Share on other sites More sharing options...
Chris Posted October 19, 2019 Share Posted October 19, 2019 Thanks. This is a really good bug report btw - it's got the saves and the commentary that we need to look into what might otherwise be a hard bug to reproduce. I suspect you're right that the dead soldier from the first mission is what's causing the problem; I'll have a chat to the coders about it next week and see if we can get it fixed. Quote Link to comment Share on other sites More sharing options...
None Posted October 26, 2019 Author Share Posted October 26, 2019 I repeated the steps in build 8.3. There was no issue starting a mission with the above criteria on this build. I'm attaching the save on the start of the second misison and the logs in case those are desired. user-2.json output.log output.log_1.a3f5ce3302cb0b5f0c19533039e85695 groundcombat-53.json groundcombat-54.json Quote Link to comment Share on other sites More sharing options...
Chris Posted October 28, 2019 Share Posted October 28, 2019 Great, glad to know it was fixed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.