This PR fixes the crash when launching Unity Editor on a command line with -nographics option.
If nographics option is set, kUnityGfxRendererNull is passed from Unity to gfxDevice in native code. This situation is undefined, therefore, it occurred the crash.
This PR fixes the crash when launching Unity Editor on a command line with
-nographics
option. Ifnographics
option is set,kUnityGfxRendererNull
is passed from Unity togfxDevice
in native code. This situation is undefined, therefore, it occurred the crash.