Jump to content

ScreenShoot Mode Crash viewing the rocket

  • Branch: Live Branch Version: Windows Pending

Hello guys,

Using the Screenshot camera while viewing the rocket causes the game to crash.





Output of the crash:

IndexOutOfRangeException: Index was outside the bounds of the array.

UserNavigation.<OnSpawn>b__4_0 (System.Object worlds) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/UserNavigation.cs:45)
EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:170)
KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:411)
ClusterManager.SetActiveWorld (System.Int32 worldIdx) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/ClusterManager.cs:301)
CameraController+<SwapToWorldFade>d__100.MoveNext () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/CameraController.cs:367)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <8394ca5da704498eb22d4c15abb7a39b>:0)


The Screenshoot mode on the rocket needs a max limit to prevent index out bounds.


Best Regards,


Steps to Reproduce
  • View the interior of the rocket;
  • Toggle ScreenShot Mode;
  • Zoom Out to Max;
  • Move the camera a bit to the sides;
  • Change the view to the asteroid by clicking on the name in the top right of the screen. 

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...