Crash when switching temperature unit in main menu


Etiam
  • Branch: Live Branch Version: Windows Pending

Crash when switching temperature unit in main menu.

NullReferenceException: Object reference not set to an instance of an object
  at UnitConfigurationScreen.OnCelsiusClicked () [0x0002b] in <dfdee8b9a425463eaf5100480bb21e0a>:0 
  at KButton.SignalClick (KKeyCode btn) [0x00010] in <10f9ff94bed345b0844e680764db2f47>:0 
  at KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00069] in <10f9ff94bed345b0844e680764db2f47>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00008] in <cfe2f64a3dc9415eb325f322bb4ecd6a>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00070] in <cfe2f64a3dc9415eb325f322bb4ecd6a>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
 
(Filename: <dfdee8b9a425463eaf5100480bb21e0a> Line: 0)

 


Steps to Reproduce

1. Launch game.

2. Go to Options -> Game.

3. Switch temperature unit.

Looks like switching temperature unit in-game (while the world is loaded) won't crash.



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