WL #984 PD 「테스트 맵 실행시 에러」 — PowerDeltaToast.Tick 이 이전 Play · 씬에서 파괴된 토스트 줄(CanvasGroup · RectTransform)을 매 프레임 접근(MissingReference · 콘솔 오류 366건 전부 같은 줄)하던 것: static s_lines 가 도메인 리로드 끔 상태에서 남고 테스트 씬은 HUD 연결(Bind)이 없어 새로 만들지 않음 → Tick 루프에 파괴된 줄은 「쓰는 중」을 끄고 건너뛰는 가드 1줄(세션 wl-979 수정 · wl-983 리컴파일 · 검증) — 재현 Play A(토스트 줄 띄운 채 정지) → Play B(리로드 없음): 남은 줄 2 · 파괴 2 · 쓰는 중 0 · 콘솔 오류 0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-10-25 23:13:23 +09:00
parent ea972ad350
commit 2b6bf964e9
1 changed files with 1 additions and 0 deletions

View File

@ -454,6 +454,7 @@ namespace WL.UI
{
var ln = s_lines[i];
if (!ln.used) continue;
if (ln.group == null || ln.rt == null) { ln.used = false; continue; } // #984 이전 Play · 씬의 UI 가 파괴된 줄(static 이 도메인 리로드 없이 남음) — 매 프레임 MissingReference 스팸 방지
ln.life -= dt; ln.elapsed += dt;
float passed = WLTextFxUtil.Passed(ln.life, ln.lifeMax);
ln.group.alpha = WLTextFxUtil.FadeAlpha(passed, s.toastFadeStartRatio);