"Actor hits floor" crashes when teleporting

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: "Actor hits floor" crashes when teleporting

Re: "Actor hits floor" crashes when teleporting

by Graf Zahl » Thu Sep 14, 2023 2:11 pm

Sorry, can't fix without breaking legitimate setups. Doom's teleports are very poorly handled in the engine, i.e. right in the middle of the movement code, which makes them susceptible to such problems

Re: "Actor hits floor" crashes when teleporting

by Rachael » Thu Dec 29, 2022 12:20 pm

From looking at the stack trace, it appears that this particular setup is causing a recursive check due to having "actor hits floor" on both sides of the teleporter, and since the player's Z velocity is non-zero it's running that particular check recursively. Which also causes a massive amount of lag even when it doesn't crash.

"Actor hits floor" crashes when teleporting

by Gothic » Thu Dec 29, 2022 11:28 am

Tested using g4.11pre-28-g269431575

Using a teleport with the "Actor hits floor" things can crash the game if you enter while jumping into the floor.
teleportbug.wad
(5.6 KiB) Downloaded 220 times

Top