This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Detect number of cores?

Hi,

I've been developing mobile games in Unity for a number years and we've always struggled with managing our quality setting for Mali GPUs. Unity exposes the graphics device name which is our main way of detecting which quality settings to use:

https://docs.unity3d.com/ScriptReference/SystemInfo-graphicsDeviceName.html

The issue is that all Mali GPUs in a series report the same name, for example a Mali-G72 MP18 and a Mali-G72 MP3 both report the graphics device name as Mali-G72. Obviously this is a big problem for us since the capabilities of those two devices are very different. What I really need is to be able to detect the number of cores the Mali GPU has.

My Android development experience is really limited to operating within the Unity engine, so I'm wonder if from native code these numbers are exposed? Maybe there's an ARM SDK or something?

Any help is appreciated. Thanks.