Summary
When creating a custom item prefab and adding it to the player inventory with AddItem() function from a far distance from the {0.0 , 0.0 , 0.0} location result in incorrectly displaying the item in the inventory
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Create a custom item prefab with item_component, a mesh_component and icon_component. Then create an instance of the entity prefab in verse and use the AddItem() function in the player default fort_inventory_weapon_hotbar_component while the player being far from the {0.0,0.0,0.0} point ( like { X:=0.0, Y:=0.0, Z:=25000.0 } ).
Expected Result
The item won’t be shown in the player inventory until the player approaches the { 0.0, 0.0, 0.0 } point.
Observed Result
The item won’t be shown in the player inventory until the player approaches the { 0.0, 0.0, 0.0 } point.
Platform(s)
PC
Additional Notes
It seems the issue can be fix if we set the global transform of the item entity nearby the player in verse code. World partition wasn’t enable when i try the issue.