关于UE4 EXCEPTION_ACCESS_VIOLATION 崩溃该如何解决?
问题描述:
现在就是每打开此关卡,进不去就直接崩了,唯一解决就是迁出来,重新创工程。但是还是坚持不了半天就又会崩溃,紧接着就没了。
答
Action ( )
{
char * x_p;
lr_save_string ( "hello_world!", "MESSAGE" );
x_p = ( char * )strchr (lr_eval_string ( "{MESSAGE}" ), ‘ ‘ );
if (x_p ) // if the pointer is not NULL display correct message
{
lr_save_string (x_p, "MESSAGE_FROM_SP" );
lr_output_message (lr_eval_string ( "{MESSAGE_FROM_SP}" ) );
}
else //if pointer is NULL display error message
{
lr_error_message ( "Space not found in MESSAGE parameter" );
}
return 0;