OutFox
OutFox copied to clipboard
[BUG] Access violation crashes on Sprite functions with no loaded texture
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.
Fixed that report with SetStateProperties, gonna check if there's other functions in Sprite that do the same thing.