Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by juanelo · Sep 27, 2017 at 10:53 PM · unity 5crashcrashreportlogging

Couldn't find Crashlytics GameObject

Added Crashlytics to the project, but it doesn't seem to be initializing correctly.

I've added the Crashlytics GameObjects to the first scene that loads in the game (a loading screen). I've also added a fallback manual initialization to the first script that runs on awake in the project's loading scene, just in case:

 private void Awake ()
   {
     //init crashlytics
     Fabric.Runtime.Fabric.Initialize();
   }

However, whenever running the scene from the editor, as soon as the next scene is loaded, I receive the Following fabric warning:

 [Fabric] Couldn't find Crashlytics's GameObject
 UnityEngine.Debug:LogWarning(Object)

(In fact, it seems like any time a new scene is loaded, I get the same warning)

I've built the project and run from Android. When debugging via ADB, If I trigger a non-fatal exception, I get a Null Reference Exception:

 NullReferenceException: Object reference not set to an instance of an object
 09-27 15:11:15.541 21963 22047 I Unity   :   at Fabric.Crashlytics.Internal.Impl.ThrowNonFatal () [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at Fabric.Crashlytics.Crashlytics.ThrowNonFatal () [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at ShopManager.doThrowNonFatal () [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0
 09-27 15:11:15.541 21963 22047 I Unity   :   at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityE

Needless to say, I can't get to the Fabric dashboard.

Any thoughts on what could be causing this issue? Thanks!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image juliocrm · Oct 23, 2018 at 04:17 AM 0
Share

Did you fix it, I have the same problem and I have installed and enable checked. I don't know what to do.

avatar image Khonkaengame juliocrm · Dec 28, 2018 at 01:11 PM 0
Share

alt text

In Impl.cs file change

 string s = null;

to something else

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by rmgomez · Dec 19, 2017 at 09:37 PM

In my case the solution was set up automatic installation of Fabric components and in the "Editor Default Resources" folder you will see a file called "FabricSettings" select that file and in the inspector expand "Installed Kits" and "Crashlytics" you will see two checkbox "installed" and "enabled".

For some reason "installed" was not checked in my setup so I only change that value and it started to work :).

From user1385416 at stack overflow: https://stackoverflow.com/a/47813804

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

147 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

why does Unity keep crashing 0 Answers

crash report cannot catch segfault in unity/IOS 0 Answers

Unity randomly going unresponsive when importing script changes 0 Answers

iOS Build Crash : task_set_exception_ports(B07, 400, D03, 0, 0) Error 0 Answers

Game App Crashes when Application.Quit() 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges