[ERROR]Unexpected JIT error: Unknown REGT value passed to

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Sir Robin
Posts: 392
Joined: Wed Dec 22, 2021 7:02 pm
Graphics Processor: Intel (Modern GZDoom)
Location: Medellin, Colombia

[ERROR]Unexpected JIT error: Unknown REGT value passed to

Post by Sir Robin »

Full error is:
Unexpected JIT error: Unknown REGT value passed to EmitParam
It doesn't give me a line number, so not sure exactly where it is happening.
in GZDoom 4.8.1 it continues the game but gives a crash report when closing the game. In 4.8.2 it doesn't give the crash report.

I don't think it related to this because I'm not doing anything with strings
Might be related to this because I am passing some vector3s around
User avatar
Sir Robin
Posts: 392
Joined: Wed Dec 22, 2021 7:02 pm
Graphics Processor: Intel (Modern GZDoom)
Location: Medellin, Colombia

Re: [ERROR]Unexpected JIT error: Unknown REGT value passed t

Post by Sir Robin »

yup, that's what it was. I took out all the places I passed a vector3 by reference and I stopped seeing the error.

Return to “Scripting”