Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Viperel
intern
Posts : 4
Reputation : 0
Join date : 2019-08-14

[RESOLVED] Permanently stuck patient after removing medical lab Empty [RESOLVED] Permanently stuck patient after removing medical lab

Wed Aug 14, 2019 11:55 am
The issue with the patient occurred after removing the medical laboratory where he was waiting for his test results. Simply by firing the technicians and removing the office, the NPC got stuck permanently in the spot and the output_log is spammed with:

Code:
Broken pointer to entity ID 1007000085
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)

System.NullReferenceException  at Lopital.ProcedureScriptStatLabResult.UpdateStatePatientWalking () [0x00000] in <filename unknown>:0
  at Lopital.ProcedureScriptStatLabResult.ScriptUpdate (Single deltaTime) [0x00000] in <filename unknown>:0
  at Lopital.ProcedureManager.Update (Int32 updateCount) [0x00000] in <filename unknown>:0

[RESOLVED] Permanently stuck patient after removing medical lab Screen10

Is there any way i could remove him from the hospital?
avatar
Viperel
intern
Posts : 4
Reputation : 0
Join date : 2019-08-14

[RESOLVED] Permanently stuck patient after removing medical lab Empty Re: [RESOLVED] Permanently stuck patient after removing medical lab

Thu Aug 15, 2019 9:35 am
Update: Managed to fix the issue (and others) after realizing the save game is an XML and removed the corresponding looped/stuck values. Still, i think the game should verify against looped/stuck procedures and remove them after a few in-game days.
jan.oxymoron
jan.oxymoron
developer
Posts : 2303
Reputation : 334
Join date : 2018-03-23

[RESOLVED] Permanently stuck patient after removing medical lab Empty Re: [RESOLVED] Permanently stuck patient after removing medical lab

Thu Aug 15, 2019 2:50 pm
Hi, thanks for the bug report and the update, we'll fix this on our side to make sure this situation resolves itself automatically - the game already handles a lot of different cases, but we're still discovering some of the very rare ones. Smile Cheers!
Sponsored content

[RESOLVED] Permanently stuck patient after removing medical lab Empty Re: [RESOLVED] Permanently stuck patient after removing medical lab

Back to top
Permissions in this forum:
You cannot reply to topics in this forum