Unity vs. Unreal Engine: A performance test
2025 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [sv]
Introduktion: Den här studien jämför två av de mest använda spelmotorerna Unity och Unreal Engine i syfte att avgöra hur väl de presterar jämfört med varandra vid objektgenerering. Tidigare studier tar upp både funktions och prestandajämförelser där denna studie ämnar att brygga gapet som finns bland prestandajämförelser.
Problem: Det saknas prestandajämförelser vid objektgenering i Unreal Engine och Unity
Forskningsfråga Vilka skillnader i prestanda finns mellan Unity och Unreal Engine vid tester riktade mot objektgenerering?
Metod: Metoden som används är ett kvantitativt experiment där testet som utförs är ett scenario som utvecklas så identiskt som möjligt i båda spelmotorerna. Scenariot består av varierande antal objekt som skapas där datan som
samlas in är tiden för objektgenereringen.
Resultat: Resultatet analyseras genom flera icke-parametriska tester där det framgår att Unity genomgående presterar mycket bättre än Unreal Engine oavsett hårdvarukonfiguration.
Diskussion: Prestandaskillnaderna kan delvis förklaras av användningen av Blueprints i Unreal Engine. Trots detta ger studiens resultat en jämförbar och replikerbar analys av spelmotorernas prestanda när det kommer till objektgenerering. Studien pekar också på vikten av rättvisa jämförelser, eftersom spelmotorernas olika sätt att hantera resurser kan påverka resultaten. Framtida
studier föreslås undersöka fler spelgenrer, använda fler maskinkonfigurationer och testa spelmotorerna i kontrollerade miljöer.
Abstract [en]
Introduction This study compares two of the most commonly used game engines, Unity and Unreal Engine, with the aim of determining how they perform relative to each other in object generation. Previous studies have addressed both functional and performance comparisons, with this study aiming to bridge the gap in performance comparisons.
Problem There is a lack of performance comparisons for object generation in Unreal Engine and Unity.
Research Question What are the performance differences in the speed at which Unity and Unreal Engine can generate a number of objects?
Method The method used is a quantitative experiment where the test performed is a scenario developed as identically as possible in both game engines. The scenario consists of varying numbers of objects being created, with the data collected being the time taken for object generation.
Results The results are presented in diagrams and analyzed through a nonparametric test, where it is clear that Unity consistently performs much better than Unreal Engine.
Discussion The performance differences can partly be explained by the use of Blueprints in Unreal Engine. Despite this, the study’s results provide a comparable and replicable analysis of the game engines’ performance in terms of object generation. The study also highlights the importance of fair comparisons, as the engines’ different methods of handling resources can impact the results. Future studies are suggested to explore additional game genres, use more machine configurations, and test the game engines in controlled environments.
Place, publisher, year, edition, pages
2025.
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:su:diva-242840OAI: oai:DiVA.org:su-242840DiVA, id: diva2:1955773
2025-04-302025-04-30