-
Bug
-
Resolution: Cannot Reproduce
-
None
-
1.19.83 Hotfix
-
None
-
Plausible
-
Windows
Summary:
When using the "minecraft:physics" component on an entity with the "push_towards_closest_space" value set to true, if you teleport that entity slightly inside a block, the game completely crashes with the following log message:
[2023-06-09 23:30:31:863 ERROR SYSTEM 17808 21732] Assertion failed: Should be a player
Condition is false: result
Function: IActorMovementProxy::asPlayer in D:\a\_work\1\s\handheld\src\common\world\actor\ActorMovementProxy.h @ 295
This is the code used for that component:
"minecraft:physics": { "has_collision": true, "has_gravity": true, "push_towards_closest_space": true },
Affects currently Live Content: No
Impact:
The impact is minimal. Removing "push_towards_closest_space" fixes the issue, and has no effect on the functionality of the entity. Just wanted to give you a heads-up. Maybe update the documentation of the field as well?! To a better description.
Repro Steps:
- add "push_towards_closest_space": true to the physics component of a pig
- try to summon pig inside a 1x1 chamber/tunnel
- crash