JIT: passing vector2/3 by reference causes error/crash.

Fri Oct 15, 2021 4:33 am

Tested on GZDoom 4.7.0. I say error/crash because I am reporting this on behalf of my friend who gets the crash ...but only sometimes. Meanwhile I only get an error.

Error:
Code:
TestImp.PostBeginPlay: Unexpected JIT error: Unknown REGT value passed to EmitPARAM


To reproduce using the attached example, use "summon TestImp".
You do not have the required permissions to view the files attached to this post.

Re: JIT: passing vector2/3 by reference causes error/crash.

Fri Oct 15, 2021 8:13 am

Probably a duplicate of this bug

Re: JIT: passing vector2/3 by reference causes error/crash.

Fri Oct 15, 2021 8:36 am

Looks like it. It works under specific circumstances, e.g. this. Code's been like that for a while and I have yet to see any issues.