You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been playing around with a multiplayer Godot example ( https://github.com/warsang/Godot-multiplayer ) and have a little tree node that when hit a bunch of times ("right_click" when close to the tree) by my character spawns a DroppedItem3d.
For some reason the DroppedItem3d doesn't have an Item object assigned to it in the Godot "Remote" view.
Locally, my "WoodDroppedItem" looks like:
However, remotely, it looks like:
That means, I can't call character.character_inventory_system.pick_to_inventory(self) or I get:
Steps to reproduce:
I am using Godot 4.2;
Clone the repo I linked;
Run 1 server instance and 1 or two client instances;
Click on tree a bunch of times to get it to disappear and spawn a resource
Observe that the resource doesn't have an item assigned to it when it should and that calling pick_to_inventory will return false.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
The bug is a little complicated to understand, I'll have to analyze it more calmly, because it seems to me that you can instantiate the dropper without using a network?
Hmm I tried instantiating the DroppedItem3d without a multiplayerSpawner node (I was using the DroppedItemSpawner from the multiplayer example) and I get the same issue. No Item resource is assigned to the item @export of DroppedItem3d in the Remote debugger view
Hello @warsang check here, it seems to me that the inspector just does not display the object correctly in "remote" mode, but at the top the inspector shows the ID of the item and confirms that it is complete or that, to test just click on the item marked with a arrow.
@warsang on your example is clear that there are no problems with the inspector, but there is a bug that gives a "pick_to_inventory" and it was created for another reason, so I debug this to be able to know more.
Hi!
I've been playing around with a multiplayer Godot example ( https://github.com/warsang/Godot-multiplayer ) and have a little tree node that when hit a bunch of times ("right_click" when close to the tree) by my character spawns a DroppedItem3d.
For some reason the DroppedItem3d doesn't have an Item object assigned to it in the Godot "Remote" view.
Locally, my "WoodDroppedItem" looks like:
However, remotely, it looks like:
That means, I can't call character.character_inventory_system.pick_to_inventory(self) or I get:
Steps to reproduce:
I am using Godot 4.2;
Thanks in advance!
The text was updated successfully, but these errors were encountered: