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

bundleVersion isn't changing #151

Open silverax opened 7 years ago

silverax commented 7 years ago

We are setting the bundleVersion in the awake of our starting class, This is so, because the version number is generated by Jenkins (ci) at compilation time.

The new value is not taken into account when sending the statistics.

As a workaround we are changing the execution order, delaying the GoogleAnalyticsV4 awake, but it is expected that data can be changed before calling StartSession()