Sign in to follow this  

ScreenShoot Mode Crash viewing the rocket


R4tZ
  • Branch: Live Branch Version: Windows Pending

Hello guys,

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

image.thumb.png.4d38c58460d1f0b0168a84192ee49722.png

image.thumb.png.2b85d9c0a45646eb450fb5725ea16aad.png

image.thumb.png.eb7faf349fcad6d2a83c0e3a76acd0d5.png

image.thumb.png.4f624cd876dd4c8ff03c0b9960783657.png

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,

R4tZ


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. 
Sign in to follow this  


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