Unity DOTS in production : DOTS pathfinding implementation in VR & AR
Näykki, Alarik (2021)
Näykki, Alarik
2021
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2021113022652
https://urn.fi/URN:NBN:fi:amk-2021113022652
Tiivistelmä
Unity’s Data-oriented technology stack (DOTS) is Unity’s approach to Data-oriented design in Unity. DOTS promises great performance gains compared to the current object-oriented Unity game development. DOTS is still in preview, which gives reason to research its current capabilities. This thesis aimed to find out if DOTS was ready to be used in production. The secondary goal of the thesis was to test the combability of VR and AR with DOTS.
The primary method used in this thesis was the implementation of pathfinding using DOTS. This pathfinding was benchmarked on two computers to compare the difference hardware makes in DOTS development. The pathfinding was also implemented into VR and AR environments to find any combability problems with DOTS. The pathfinding method was also implemented using the object-oriented Unity tools to compare the performance difference between it and the DOTS approach.
The pathfinding implementation was successful and ran up to 13 times faster compared to the object-oriented approach. Moreover, no combability issues with VR or AR with DOTS were found during the development. Still, it was concluded that DOTS is not ready to be used in production as its usage was deemed too arduous in its current state.
The primary method used in this thesis was the implementation of pathfinding using DOTS. This pathfinding was benchmarked on two computers to compare the difference hardware makes in DOTS development. The pathfinding was also implemented into VR and AR environments to find any combability problems with DOTS. The pathfinding method was also implemented using the object-oriented Unity tools to compare the performance difference between it and the DOTS approach.
The pathfinding implementation was successful and ran up to 13 times faster compared to the object-oriented approach. Moreover, no combability issues with VR or AR with DOTS were found during the development. Still, it was concluded that DOTS is not ready to be used in production as its usage was deemed too arduous in its current state.