OutFox icon indicating copy to clipboard operation
OutFox copied to clipboard

[BUG] Iterating the Def table freezes the game forever.

Open EngineMachiner opened this issue 9 months ago • 1 comments

I noticed that my print mindbox function was freezing forever over trying to concatenate _G. After debugging what could be causing the issue, I figured out that it was trying to iterate over the Def table because it contained the LogDisplay key and function.

Copy and execute code to reproduce: for i,v in ipairs(Def) do end

Done on 0.5-git-682748b680 and 2023's build 0.5-git-14328c8e38. Tested and doesn't freeze on 5.0.12.

Let me know if you need more info.

EngineMachiner avatar Apr 02 '25 17:04 EngineMachiner

Found the bug, it is a problem with how the game attempts to see if the Def item is a vaild class from the engine. Will look into it.

JoseVarelaP avatar May 03 '25 01:05 JoseVarelaP