Closed Maru-prono closed 1 year ago
It was necessary to set the anchor to the parent to generate the object.
Instead, you should parent your content to the anchor.
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.0/manual/anchor-manager.html#:~:text=Instead%2C%20you%20should%20parent%20your%20content%20to%20the%20anchor.
Hello.
I want to generate arbitrary GameObject between two iPads in the same location each of them using ARWorldMap.
I have successfully serialized WorldMap, communicated, deserialized, and even Apply. But when I create the object after applying WorldMap, it is not created in the same location.
”Same location" means that when a GameObject is generated on a desk taken on one iPad, it is also generated on the desk on the other iPad.
I checked the length and contents of the byte array after serializing the WorldMap, and they were consistent before and after the communication.
In addition, the following code was created for object generation.
Unity:2021.3.3f1 ARFoundation:4.2
iPadOS:16.2(both of them) iPadGen:6th, 2th
Please let me know if you need any further information.
Thanks, Maru