1
\$\begingroup\$

I want to hook up a crash reporting service to my unity iOS game. It's just one line of objC to add, as early into the app lifecycle as possible, but I'm not sure how to get it to run. I know I could make a native plugin and then call that from some Awake() function in C#, but that's too late for my purposes.

I'm not a native iOS developer, but I know enough to be dangerous. I have been able to google enough that I know I want something to with UnityAppController, probably preStartUnity(). But that's all.

Has anyone got further resources on how to do this? Or another way, if I'm barking up the wrong tree?

edit: I'm on unity 4.6.

\$\endgroup\$
1
\$\begingroup\$

This may be a blatant hack, but Unity now let's you use a custom xib for the splash/loading screen. Maybe you can attach it there.

Edit: I forgot, this feature is Pro only.

\$\endgroup\$
  • \$\begingroup\$ hard to find info, but that seems like a unity 5 feature? unfortunately I'm on 4.6. \$\endgroup\$ – tenpn Jun 5 '15 at 16:41
  • \$\begingroup\$ That is unfortunate; it is 5 only. \$\endgroup\$ – greenland Jun 5 '15 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.