GameAnalytics / GA-SDK-UNITY

The GameAnalytics SDK for tracking events in Unity.
MIT License
116 stars 54 forks source link

Add missing #if check on GameAnalytics.cs (fix console compilation) #18

Closed jorge-martinez-scopely closed 1 year ago

jorge-martinez-scopely commented 1 year ago

Scripting symbols for PS5 and GDK (xbox) were missing from the #if on line 111, causing the GA sdk to break console compilation.

Right now we have to use a custom fork to avoid breaking compilation for some of the platforms we want to support, but we would like to come back to the main repo, so it would be greatly appreciated if this can be merged and released on a future sdk version.

I can add the changelog.md and increase the package version on this PR too if you want me to. I didn't do it because I assume you handle version increase & tagging when you see it fit.