Overview
In this experiment, I focused solely on the multiplayer synchronization capability of Niantic's ARDK combined with Unity Netcode. The objective was simple: establish basic synchronization between two mobile devices, verifying real-time tracking of player objects.
Test Setup
- Platform: Unity 2022 LTS
- Tools: Niantic ARDK, Unity Netcode for GameObjects
Test Procedure
Both devices were set up to join the same session:
- Host device created the room.
- Client device joined the session.
- Upon joining, each device generated a "player object" that tracked the real-time physical location of the respective device.
Observations
Below are two separate videos captured from each device perspective during testing:
Host & Client Device Perspective
Key Outcomes
- Successful real-time synchronization of player objects was achieved. Each object closely followed the physical movement of its respective device.
- Minimal latency was observed, demonstrating effective real-time updates.
- Confirmed basic functionality without complex anchor synchronization or additional refinements.
Challenges Encountered
- Initial difficulties establishing reliable network connections between devices.
- Some minor positional drifts noted during rapid movements.
Future Improvements
- Integrate robust anchor-sharing mechanisms.
- Further refine latency and positional accuracy.