TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
187 stars 3 forks source link

[Game Crash] RageTexture crashes when accessed directly #482

Open luizsan opened 2 years ago

luizsan commented 2 years ago

Describe the crash

Calling functions that access a RageTexture directly crashes the game without any logs. Sprite:SetTexture(RageTexture tex) should assign a texture to a Sprite but instead crashes the game RageTexture:GetPath() should return a string but instead crashes the game

How can you reproduce the error?

  1. Create a Def.Sprite and assign a texture to it by loading from a Song banner, background or anything simila
  2. Store the RageTexture in a variable using sprite:GetTexture()
  3. Try to call any function from that texture, or any function that uses the texture, like sprite:SetTexture(texture) or texture:GetPath()
  4. Game crashed (without logs)

Screenshots/Videos

No response

Game Mode

No response

Additional Information

No response