assert (Actor did not destroy its entity before its own destruction on a differnt thread) when teleporting long distances
Partner Rank: 4
Partner Team Reporting: Jigarbov Productions
Verification builds: 1.17.20.23
Summary:
assert when teleporting long distances (found in Abstraction MEGA, but may exist elsewhere)
Impact:
Asserts are bad and can result in failures during cert and content review if they're not caught and logged. While there is no apparent gameplay impact, it's clear there is something going wrong under the hood.
Repro Steps:
- Download Abstraction MEGA from the marketplace
- go into the world and turn on creative mode
- do tp 166 133 1371
- do tp 179 149 217
- do tp 210 162 984
- do tp 212 196 42
Observed Results:
player gets teleported and this assert shows up seemingly between certain teleports but not on others. seems to be long distances causing it.
--------------------------- Assert Failure - ctrl+C to copy this message to the clipboard! --------------------------- Assertion failed: Actor did not destroy its entity before its own destruction on a differnt thread! Condition is false: (!hasEntity() Bedrock::Threading::getMainThread().isOnThread() Bedrock::Threading::getServerThread().isOnThread()) Function: Actor::~Actor in D:\a_work\1\s\handheld\src\common\world\actor\Actor.cpp @ 338 --------------------------- OK
---------------------------
Expected Results:
player gets teleported and no assert should show up
Screenshots/Videos attached: sure.

Regression Builds:
1.17.20.22