Closed Yiin closed 8 months ago
okay so that happens because in stacktrace code shared\src\helpers\JS.cpp:74
frame->GetScriptName()
returns empty value, and if we pass empty value to *v8::String::Utf8Value the game crashes. Fixed by adding IsEmpty
check before attempting Utf8Value creation.
Running this code
in jsv1 will result in this exception being thrown:
but jsv2 crashes the whole game instead.