Live re-compile crash

Started by Djekke, August 25, 2018, 08:55:08 AM

Djekke

Just tryed in a fresh environment (download game, unpack content of Core.cpk in the folder with same name, run sln via MSVS 2017, try to change smthg)
Change was: add new hotkey in Scripts\ClientComponents\Input\GameButton.cs
compiler log: https://pastebin.com/pZ8md5VT
client log: https://pastebin.com/yv3uxu81

Error:
25.8.18 18:31:01.631 [ERR] CRITICAL ERROR at CryoFall_Client.exe! Unhandled exception. Terminating the process!
System.NullReferenceException: Object reference not set to an instance of an object.
   _____________________________________stack trace_____________________________________

   at ComponentGroundTileRenderer.RefreshFull()
   at ComponentCameraGroundTilesManager.RefreshActiveTiles()
   at ProtoOption`2.Apply()
      (file: D:\Projects\CryoFall\CleanEnvironment\Core\Core.cpk\Scripts\ClientOptions\Base\ProtoOption.cs line: 59)

   at ProtoOptionsCategory.LoadOptionsFromStorage()
      (file: D:\Projects\CryoFall\CleanEnvironment\Core\Core.cpk\Scripts\ClientOptions\Base\ProtoOptionsCategory.cs line: 142)

   at BootstrapperClientOptions.ClientInitialize()
      (file: D:\Projects\CryoFall\CleanEnvironment\Core\Core.cpk\Scripts\Bootstrappers\BootstrapperClientOptions.cs line: 12)

   at ClientScriptsDataReloadHelper.InitializeClientBoostrappers()
   at ClientScriptsDataReloadHelper.RefreshScriptingData()
   at CBNDMonoGameApplication.OnUpdate(gameTime)
   at Game.DoUpdate(gameTime)
   at Game.Tick()
   at WinFormsGameWindow.TickOnIdle(sender, e)
   at ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(grfidlef)
   at ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(dwComponentID, reason, pvLoopData)
   at ThreadContext.RunMessageLoopInner(reason, context)
   at ThreadContext.RunMessageLoop(reason, context)
   at WinFormsGameWindow.RunLoop()
   at Game.Run(runBehavior)
   at CBNDClientLauncher.Launch(isEditor, getServerLoggerProviderFunc)
   at #=zj1AQTV7w68H5hg2X54FyroZD756Ef4ERbg==.Main()
   _____________________________________________________________________________________


p.s. If no one can reproduce that, then there is a high probability that its crashed because i use dxcpl.

ai_enabled

Thanks for reporting!
Should be fixed in the next hotfix update coming very soon.