Unity2019.3.0bx スタンドアローンビルドでクラッシュした原因

トラブルシューティング

エディタでは問題ないけど実機(スタンドアローンビルデ)で突然クラッシュする現象がありました。クラッシュログを見ても

Thread 0 0 dbghelp 0x00007ff89a617d50 ?Open@MSF@@SAPEAU1@PEBGHPEAJJK@Z 1 dbghelp 0x00007ff89a60ea25 ?OpenEx2W@PDB1@@SAHPEBGPEBDKJPEAJPEAG_KPEAPEAUPDB@@@Z 2 dbghelp 0x00007ff89a60f9ef ?OpenValidate4@PDB1@@SAHPEBGPEBDPEBU_GUID@@KKPEAJPEAG_KPEAPEAUPDB@@@Z 3 dbghelp 0x00007ff89a5aac8c ?loadAndValidateDataFromPdb@CDiaDataSource@@UEAAJPEBGPEAU_GUID@@KK@Z 4 dbghelp 0x00007ff89a64b0a6 ?DiaOpenPdbEx@@YAJPEBGPEAU_GUID@@KKHPEAXPEAU_PROCESS_ENTRY@@PEAHPEAG@Z 5 dbghelp 0x00007ff89a65559a ?diaOpenPdb@@YAJPEAU_IMGHLP_DEBUG_DATA@@PEBGPEAU_GUID@@KKH@Z 6 dbghelp 0x00007ff89a6550cf ?diaLocatePdb@@YAJPEAU_MODULE_ENTRY@@PEAU_IMGHLP_DEBUG_DATA@@PEAGPEAU_GUID@@KKPEBG@Z 7 dbghelp 0x00007ff89a6521ca ?diaGetPdb@@YAHPEAU_MODULE_ENTRY@@PEAU_IMGHLP_DEBUG_DATA@@@Z 8 dbghelp 0x00007ff89a66e0ed ?GetDebugData@@YAHPEAU_MODULE_ENTRY@@PEAU_IMGHLP_DEBUG_DATA@@@Z 9 dbghelp 0x00007ff89a670f8b ?modload@@YAHPEAXPEAU_MODULE_ENTRY@@@Z 10 dbghelp 0x00007ff89a66eece ?LoadSymbols@@YAHPEAXPEAU_MODULE_ENTRY@@K@Z 11 dbghelp 0x00007ff89a664fe5 ?SympGetSymFromAddr@@YAPEAU_SYMBOL_INFOW@@PEAX_KKPEA_K@Z 12 dbghelp 0x00007ff89a6695b5 SymGetSymFromAddr64 13 UnityPlayer 0x00007ff844898e7c ?GetStringFromStacktrace@StackWalker@@QEAAHPEBQEBXH@Z 14 UnityPlayer 0x00007ff84489a9ce ?ShowCallstack@StackWalker@@QEAAHPEAXPEBU_CONTEXT@@H@Z 15 UnityPlayer 0x00007ff8448a01f9 PrintStackTraceToConsole 16 UnityPlayer 0x00007ff8448a0281 ?ProcessInternalCrash@winutils@@YAHPEAU_EXCEPTION_POINTERS@@_N@Z 17 KERNELBASE 0x00007ff8a0a01b22 UnhandledExceptionFilter 18 ntdll 0x00007ff8a34ff1b3 RtlUserThreadStart$filt$0 19 ntdll 0x00007ff8a34e1e26 _C_specific_handler 20 ntdll 0x00007ff8a34f349d RtlpExecuteHandlerForException 21 ntdll 0x00007ff8a34b48d7 RtlDispatchException 22 ntdll 0x00007ff8a34f262a KiUserExceptionDispatch 23 UnityPlayer 0x00007ff844a21d0f ??$ProcessShadowCasterNodeVisibilityAndCullWithoutUmbra_Kernel@$0A@$0M@@@YAXAEAUIndexList@@AEBUCullingParameters@@PEBULODDataArray@@PEBUSceneNode@@PEBVAABB@@_K5QEBU_float4@math@@@Z 24 UnityPlayer 0x00007ff844a26ccb ?ProcessShadowCasterNodeVisibilityAndCullWithoutUmbra@@YAXAEAUIndexList@@AEBUCullingParameters@@PEBULODDataArray@@PEBUSceneNode@@PEBVAABB@@_K5@Z 25 UnityPlayer 0x00007ff8449ea3f5 CullShadowCastersWithoutUmbraThreaded 26 UnityPlayer 0x00007ff8449e999f CullLocalShadowCastersJob 27 UnityPlayer 0x00007ff844ecae35 ?Exec@JobQueue@@AEAAHPEAUJobInfo@@_JH@Z 28 UnityPlayer 0x00007ff844ed1adf ?WaitForJobGroupID@JobQueue@@QEAAXUJobGroupID@@W4JobQueueWorkStealFlags@1@@Z 29 UnityPlayer 0x00007ff844ec225c ?CompleteFenceInternal@@YAXAEAUJobFence@@W4WorkStealFlags@@@Z 30 UnityPlayer 0x00007ff84499f1fd ??1CullResults@@QEAA@XZ 31 UnityPlayer 0x00007ff844eb5809 ?CleanupScriptableCullResults@@YAXPEAUScriptableCullResults@@@Z 32 UnityPlayer 0x00007ff844ea66a0 ??1ScriptableRenderContext@@QEAA@XZ 33 UnityPlayer 0x00007ff8449d4747 ?RenderCamerasWithScriptableRenderLoop@RenderManager@@AEAA_NH@Z 34 UnityPlayer 0x00007ff8449d4249 ?RenderCameras@RenderManager@@QEAAXHP6AXXZ0@Z 35 UnityPlayer 0x00007ff844fbbe77 ?PlayerRender@@YAX_N@Z 36 UnityPlayer 0x00007ff844fb87a4 `InitPlayerLoopCallbacks’::`2′::PostLateUpdateFinishFrameRenderingRegistrator::Forward 37 UnityPlayer 0x00007ff844fa7b87 ?ExecutePlayerLoop@@YAXPEAUNativePlayerLoopSystem@@@Z 38 UnityPlayer 0x00007ff844fa7c4f ?ExecutePlayerLoop@@YAXPEAUNativePlayerLoopSystem@@@Z 39 UnityPlayer 0x00007ff844fab7fd ?PlayerLoop@@YAXXZ 40 UnityPlayer 0x00007ff8448c8b7b PerformMainLoop 41 UnityPlayer 0x00007ff8448c766a MainMessageLoop 42 UnityPlayer 0x00007ff8448cb9fa ?UnityMainImpl@@YAHPEAUHINSTANCE__@@0PEA_WH@Z 43 UnityPlayer 0x00007ff8448cf53b UnityMain 44 app 0x00007ff67af411f2 _scrt_common_main_seh 45 KERNEL32 0x00007ff8a12413f2 BaseThreadInitThunk 46 ntdll 0x00007ff8a34754f4 RtlUserThreadStart 47 ntdll 0x00007ff8a34754f4 RtlUserThreadStart

原因

ポイントライトを全部消したらエラーが出なくなりました。Unityのバグのような気がしますが、もしかしたらベータ版で不正なデータになっているとかも考えられます