Open eltreum0 opened 10 months ago
Using SetParent on the Parent frame of an AnimationGroup that has an Animation of the Flipbook type will crash the game
You can use this code to provoke the crash reliably
local frame = CreateFrame("FRAME") frame.Texture = frame:CreateTexture(nil, "ARTWORK") frame.Texture:SetParentKey("FlipBookFrame") frame.Anim = frame:CreateAnimationGroup() frame.FlipBook = frame.Anim:CreateAnimation("FlipBook") frame.FlipBook:SetFlipBookColumns(1) frame.FlipBook:SetFlipBookRows(1) frame.FlipBook:SetFlipBookFrames(1) frame.FlipBook:SetFlipBookFrameHeight(1) frame.FlipBook:SetFlipBookFrameWidth(1) frame.FlipBook:SetChildKey("FlipBookFrame") frame:SetParent(_G.TargetFrame) --this line crashes the game frame:SetPoint("CENTER", _G.TargetFrame, "CENTER", 0, 0) frame:SetFrameStrata('MEDIUM') frame:Show() frame.Anim:Play()
2023-09-10 01.58.54 Crash - 25752.txt 2023-09-10 02.00.11 Crash - 20368.txt
A crash on 10.1.7 PTR and one on the Wrath PTR
WorldText exceeding the screen also crashes the game:
Using SetParent on the Parent frame of an AnimationGroup that has an Animation of the Flipbook type will crash the game
You can use this code to provoke the crash reliably