googleanalytics / google-analytics-plugin-for-unity

Google Analytics plugin for the Unity game creation system
Apache License 2.0
388 stars 140 forks source link

GAV4 gameobject is not singleton #149

Open UneebKari opened 7 years ago

UneebKari commented 7 years ago

hi

kindly fix this issue that the GAV4 gameobject is not singleton in unity. Which may cause multiple instance of gav4 in game.

dinhonms commented 7 years ago

Override these lines of code: screen shot 2017-01-20 at 11 33 51

For this: screen shot 2017-01-20 at 11 33 28

vasyaPP commented 7 years ago

@UneebKari I had same problem. But after a while I realised, that the problem was on my side. I have loading my scene with GAv4 prefab multiple times.

UneebKari commented 7 years ago

@dinhonms thanks for the reply i did the same before generating that thread...

UneebKari commented 7 years ago

@vasyaPP well the main problem was in GAV4 script. its not marked at singleton bro. This thing has to be fixed by google teams officially.

dinhonms commented 7 years ago

Yeah. It takes some weeks to me to find out what was going on. My app was not tracking.

Em qui, 16 de mar de 2017 às 15:52, UneebKari notifications@github.com escreveu:

@vasyaPP https://github.com/vasyaPP well the main problem was in GAV4 script. its not marked at singleton bro. This thing has to be fixed by google teams officially.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googleanalytics/google-analytics-plugin-for-unity/issues/149#issuecomment-287156645, or mute the thread https://github.com/notifications/unsubscribe-auth/AYFDNGaEm-3Q-KbuBk6GAqR7ORrl7I6Jks5rmYUIgaJpZM4LooU3 .

-- Graduação Tecnologia em Jogos Digitais - Estácio Fic Bolsista de Iniciação Tecnológica - CNPq Curso de Línguas - Inglês - IMPARH Inglês Instrumental - IMPARH Inglês para Negócios - IBM Ti – Smart Técnico em TI - E – Jovem Currículo Lattes http://goo.gl/z2tYlk

dinhonms commented 7 years ago

So I did some tests and realized the problem.

Em qui, 16 de mar de 2017 às 16:51, Nonato Sousa dinhonms@gmail.com escreveu:

Yeah. It takes some weeks to me to find out what was going on. My app was not tracking.

Em qui, 16 de mar de 2017 às 15:52, UneebKari notifications@github.com escreveu:

@vasyaPP https://github.com/vasyaPP well the main problem was in GAV4 script. its not marked at singleton bro. This thing has to be fixed by google teams officially.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/googleanalytics/google-analytics-plugin-for-unity/issues/149#issuecomment-287156645, or mute the thread https://github.com/notifications/unsubscribe-auth/AYFDNGaEm-3Q-KbuBk6GAqR7ORrl7I6Jks5rmYUIgaJpZM4LooU3 .

-- Graduação Tecnologia em Jogos Digitais - Estácio Fic Bolsista de Iniciação Tecnológica - CNPq Curso de Línguas - Inglês - IMPARH Inglês Instrumental - IMPARH Inglês para Negócios - IBM Ti – Smart Técnico em TI - E – Jovem Currículo Lattes http://goo.gl/z2tYlk

-- Graduação Tecnologia em Jogos Digitais - Estácio Fic Bolsista de Iniciação Tecnológica - CNPq Curso de Línguas - Inglês - IMPARH Inglês Instrumental - IMPARH Inglês para Negócios - IBM Ti – Smart Técnico em TI - E – Jovem Currículo Lattes http://goo.gl/z2tYlk