Skip to content

fix(NT8): guard destroyed prop View in GliderPropControllerSystem#9405

Closed
eordano wants to merge 1 commit into
decentraland:devfrom
eordano:chore/clean-glider-prop-nullguard
Closed

fix(NT8): guard destroyed prop View in GliderPropControllerSystem#9405
eordano wants to merge 1 commit into
decentraland:devfrom
eordano:chore/clean-glider-prop-nullguard

Conversation

@eordano

@eordano eordano commented Jul 17, 2026

Copy link
Copy Markdown
Member

UNITY-EXPLORER-NT8 (824 evts/2 users): EcsSystemException [GliderPropControllerSystem]. The glider prop View is parented to the avatar transform; when the avatar GameObject is torn down by Unity, the child View is destroyed while the ECS GliderProp component still references it. CleanUpDestroyedAvatarsProp then dereferences the destroyed View (PrepareForNextActivation / .gameObject), throwing out of Update. Early-return on Unity-null View (overloaded ==), matching the codebase's SafeDestroy/null-guard idiom. Unverified (no Unity build).

UNITY-EXPLORER-NT8 (824 evts/2 users): EcsSystemException [GliderPropControllerSystem].
The glider prop View is parented to the avatar transform; when the avatar
GameObject is torn down by Unity, the child View is destroyed while the ECS
GliderProp component still references it. CleanUpDestroyedAvatarsProp then
dereferences the destroyed View (PrepareForNextActivation / .gameObject),
throwing out of Update. Early-return on Unity-null View (overloaded ==), matching
the codebase's SafeDestroy/null-guard idiom. Unverified (no Unity build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>



Production evidence (decentraland Sentry, archive snapshot 2026-07-17):
- UNITY-EXPLORER-NT8: 39 events / 1 users, last seen 2026-07-06
@eordano
eordano requested review from a team as code owners July 17, 2026 13:04
@eordano

eordano commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

Superseded by #9419 — branch moved into the org repo so CI workflows get repository secrets.

@eordano eordano closed this Jul 17, 2026
@eordano
eordano deleted the chore/clean-glider-prop-nullguard branch July 17, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant