bugsnag / bugsnag-unity

Automatic error reporting for Unity games
https://docs.bugsnag.com/platforms/unity
MIT License
90 stars 31 forks source link

release source and support Unity v6 #847

Closed richardelms closed 2 weeks ago

richardelms commented 3 weeks ago

Goal

Design

Releasing pre compiled DLLs meant that our development cycle was slow as you would have to package the SDK after every change.

It also meant we could not take advantage of unity provided compiler flags to support multiple versions, #if UNITY_2022_2_OR_NEWER for example.

With this change to shipping source files, development time and build time is reduced to a fraction of what it was in the previous setup.

Another benefit is that we can simply open up the development project in new versions of Unity and solve issues that arise on the spot using the above mentioned flags.

In theory, using this approach means that we never have to drop support for a Unity version again, obviously this would not be good for E2E CI setup, but it's a comforting thought 😄

Other benefits to this PR include:

Changeset

Testing

Unit tests passing and full CI run passing.

bugsnagbot commented 3 weeks ago

Build size impact

Format Size impact of Bugsnag (kB)
IL2CPP APK 2598.27
IL2CPP IPA 1696.2

Generated by :no_entry_sign: Danger