Jump to content

Crash - duplicant in a teleporter leaves after load, causing crash if teleport command is issued


SuggestofPhrase
  • Branch: Preview Branch Version: Windows Pending

If you load a game with a duplicant in the teleporter, they will leave the teleporter, but the teleporter will remain in the "Ready to Teleport" state.  If you click teleport, it will crash and cause this output:

 

NullReferenceException: Object reference not set to an instance of an object

WarpPortal+<DelayedWarp>d__24.MoveNext () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Buildings/WarpPortal.cs:150)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)
 


Steps to Reproduce

Assign duplicant to a teleporter

Save with them in teleporter, ready to teleport

Load the game

Watch them walk away

Click Teleport




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...