Last modified January 21, 2019 by Shelly Wolfe

Why am I getting NullReferenceExceptions in SwrveSDKImp.cs?

In the Unity SDK, if Swrve is called before it has finished initializing, you may get a NullReferenceException.

How to resolve the issue

To address this issue, go to Edit > Project Settings > Script Execution Order and move SwrveComponent higher in the list.