Transcript for:
Performance Comparison: Unreal vs Unity

with all this performance testing that i've been doing lately i decided to test out performance of unreal blueprints and how is it compared to unity's visual scripting so i recreated the tests that i did for unity in blueprints and here are the results for an empty for loop you can see that unreal engine blueprints is actually five times faster than visual scripting but it's still almost a hundred times slower than a for loop in c sharp but let's not just take a look at this results let's go on to the addition and multiplication and for this one it's almost 10 times faster than unity's visual scripting so that's probably because the input values for the nodes are more efficient than the inputs for visual scripting so if we take a look at the rest of the result we can see the same picture so most of things are 5 to 10 times faster than in visual scripting the paralleling noise and random are significant slower in unity visual scripting and i mentioned this in previous videos it's probably because they are using call to c-sharp for these parliament noise and random numbers and that is a very slow in visual scripting so we don't see that problem in blueprints but still for parliament and random numbers it's around 10 times slower than making it in c sharp so that is probably also because how the values are actually passed to the nodes and how they're retrieved now to be honest i thought that unreal blueprints were going to be actually much faster than the result that i got i thought that they're going to be closer to what we get for c-sharp maybe twice slower but not the numbers that i got here it is faster than unt visual scripting so unity has room to improve with their visual scripting but c sharp and c plus are still significantly faster than the visual scripting solutions that we have so if performance is very important for the type of a game you're making if you'll have a lot of characters in your game that will do a whole bunch of different things it will be easier to get maximum performance with using c sharp and c plus plus like always if you found this video useful be sure to click on that like button and i'll see you in the next one