This does work and it works all day long and forms the operating basis for almost every single third-party SDK and library out there, such as all advertisers, Facebook, Firebase, Leanplum, Helpshift etc.
They ALL use this technique and it ALL works perfectly.
Now as for the technique of necro-posting to ancient threads from 2016, yes, that doesn’t work well at all.
If you have a problem, please start your own post, it’s FREE!
How to report your problem productively in the Unity3D forums:
If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly