OutFox icon indicating copy to clipboard operation
OutFox copied to clipboard

[BUG] Access violation crashes on Sprite functions with no loaded texture

Open EngineMachiner opened this issue 9 months ago • 1 comments

If you run any texture related function in a Sprite with no loaded texture, the game crashes with an access violation exception. This has always been present, even on legacy builds. I'm just mentioning and reporting it because this could be easier to debug for developers without the crash and just an error / assert popup.

Reproduce with: Def.Sprite { InitCommand=function(self) self:SetStateProperties( { { Frame = 0 } } ) end }

Let me know if you need more info.

EngineMachiner avatar Apr 14 '25 06:04 EngineMachiner

Fixed that report with SetStateProperties, gonna check if there's other functions in Sprite that do the same thing. Image

JoseVarelaP avatar May 03 '25 00:05 JoseVarelaP