Hi. I downloaded the A8.1 trial version and ran a script i wrote in A7. I get a new crash "Script crash in ...: SYS". I could reduce it to the following:

This works:
you=NULL;
//object_distance=c_trace(from_vec, to_vec, IGNORE_ME | IGNORE_PASSABLE | IGNORE_PASSENTS | USE_POLYGON);
if(you!=NULL)
{...

This does not:
you=NULL;
object_distance=c_trace(from_vec, to_vec, IGNORE_ME | IGNORE_PASSABLE | IGNORE_PASSENTS | USE_POLYGON);
if(you!=NULL)
{...

This works again:
you=NULL;
object_distance=c_trace(from_vec, to_vec, IGNORE_ME | IGNORE_PASSABLE | IGNORE_PASSENTS | USE_POLYGON);
...

Any suggestions?