react-native-unity icon indicating copy to clipboard operation
react-native-unity copied to clipboard

Performance comparison (react-native-unity vs native unity build)

Open exotexot opened this issue 2 years ago • 2 comments

Hello,

I would like to understand wether there is a performance hit, when running a unity scene using the react-native-unity wrapper, compared with having a unity scene and directly deploy from Unity to the iOS/Andorid device.

Hopefully, in the next few weeks I'll do a comparison in this very regard, but I wanted to check if someone can share their experiences, how the unity integration using react-native-untiy performs.

It would be nice to have a Unity scene with known performance when being deployed directly from unity to e.g. an iOS Device and then have the same scene running using react-native-unity wrapper and see if the performance matches.

exotexot avatar Jun 13 '22 09:06 exotexot

@exotexot did you ever come to a conclusion?

rcorrie avatar Jan 05 '24 18:01 rcorrie

@rcorrie Back then I ran the test that I described in my first post, and I can share the results here.

I did some tests though were react-native-unity was performing worse. Could have been due to thermal throttling or whatever. But the videos show that they CAN run very similar!

https://github.com/azesmway/react-native-unity/assets/10153413/e634e693-4f7f-40e2-8785-c20595eee401

https://github.com/azesmway/react-native-unity/assets/10153413/54181d6c-9db7-47fd-b291-a50b394dfb04

exotexot avatar Jan 06 '24 12:01 exotexot