Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get any crashlytic reporting #850

Closed
shekit opened this issue Nov 2, 2020 · 0 comments
Closed

Unable to get any crashlytic reporting #850

shekit opened this issue Nov 2, 2020 · 0 comments
Labels

Comments

@shekit
Copy link

shekit commented Nov 2, 2020

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.1.8f1
  • Firebase Unity SDK version: 6.16.1
  • Source you installed the SDK: Unity Package Manager (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: Crashlytics (Auth, Database, etc.)
  • Other Firebase Components in use: NA (Auth, Database, etc.)
  • Additional SDKs you are using: None (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
  • Platform you are targeting: iOS/Android (iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:

(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Followed all steps to set up crashlytic
Not receiving any log messages in the firebase console for iOS or Android
Unable to get it to report even with quickstart testapp
Have tried setting up a fresh firebase project and fresh build

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
Yes

What's the issue repro rate? (eg 100%, 1/5 etc) 100%

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Follow recommended setup steps of the test app.

Logs from iPhone:

2020-11-01 18:45:54.724574-0500 crash[9711:7377553] Built from '2020.1/staging' branch, Version '2020.1.8f1 (22e8c0b0c3ec)', Build type 'Release', Scripting Backend 'il2cpp'
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
2020-11-01 18:45:55.105248-0500 crash[9711:7377719] 6.32.0 - <AppMeasurement>[I-ACS031025] Analytics screen reporting is enabled. Call  [FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A10 GPU
Initialize engine version: 2020.1.8f1 (22e8c0b0c3ec)
2020-11-01 18:45:55.686750-0500 crash[9711:7377553] Unbalanced calls to begin/end appearance transitions for <UnityViewControllerStoryboard: 0x101d08ab0>.
2020-11-01 18:45:55.721883-0500 crash[9711:7377724] 6.32.0 - <AppMeasurement>[I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
UnloadTime: 0.224625 ms
Setting up 1 worker threads for Enlighten.
  Thread -> id: 170acb000 -> priority: 1 
2020-11-01 18:45:58.065525-0500 crash[9711:7377802] 6.32.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
2020-11-01 18:45:58.071709-0500 crash[9711:7377553] [Firebase/Crashlytics] Version 4.6.1
Crashlytics init
System.Action`1:Invoke(T)
Firebase.Extensions.<ContinueWithOnMainThread>c__AnonStorey9:<>m__0()
System.Func`1:Invoke()
Firebase.<RunAsync>c__AnonStorey1`1:<>m__0()
System.Action:Invoke()
Firebase.ExceptionAggregator:Wrap(Action)
Firebase.Dispatcher:PollJobs()
Firebase.Platform.FirebaseHandler:Update()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

2020-11-01 18:45:58.295620-0500 crash[9711:7377803] 6.32.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60802000 started
2020-11-01 18:45:58.296272-0500 crash[9711:7377803] 6.32.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2020-11-01 18:45:58.588692-0500 crash[9711:7377722] 6.32.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2020-11-01 18:45:58.687155-0500 crash[9711:7377721] 6.32.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2020-11-01 18:46:10.150924-0500 crash[9711:7377802] 6.32.0 - [Firebase/Analytics][I-ACS023130] Configuration not found. Using default configuration
Causing a platform crash.
Firebase.Sample.Crashlytics.UIHandler:DebugLog(String)
Firebase.Sample.Crashlytics.UIHandler:ThrowUncaughtException()
Firebase.Sample.Crashlytics.UIHandler:GUIDisplayControls()
Firebase.Sample.Crashlytics.UIHandler:OnGUI()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

InvalidOperationException: Uncaught exception created from UI.
at Firebase.Sample.Crashlytics.UIHandler.ThrowUncaughtException () [0x00000] in <00000000000000000000000000000000>:0 
  at Firebase.Sample.Crashlytics.UIHandler.GUIDisplayControls () [0x00000] in <00000000000000000000000000000000>:0 
  at Firebase.Sample.Crashlytics.UIHandler.OnGUI () [0x00000] in <00000000000000000000000000000000>:0 
 
(Filename: currently not available on il2cpp Line: -1)

Catching an logging an exception.
Firebase.Sample.Crashlytics.UIHandler:DebugLog(String)
Firebase.Sample.Crashlytics.UIHandler:LogCaughtException()
Firebase.Sample.Crashlytics.UIHandler:GUIDisplayControls()
Firebase.Sample.Crashlytics.UIHandler:OnGUI()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Logging message to Crashlytics session: This is a log message.
Firebase.Sample.Crashlytics.UIHandler:DebugLog(String)
Firebase.Sample.Crashlytics.UIHandler:WriteCustomLog(String)
Firebase.Sample.Crashlytics.UIHandler:GUIDisplayControls()
Firebase.Sample.Crashlytics.UIHandler:OnGUI()
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

No reporting in the firebase console for iOS or Android:

Screen Shot 2020-11-01 at 7 12 03 PM

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Test with quickstart-unity

Relevant Code:

// TODO(you): code here to reproduce the problem
@shekit shekit added the new New issue. label Nov 2, 2020
@shekit shekit closed this as completed Nov 2, 2020
@firebase firebase locked and limited conversation to collaborators Dec 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants