Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Performance Reporting throws error at init (Beta 22)

Discussion in '5.4 Beta' started by Tuni, Jun 20, 2016.

  1. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Hi,

    we are receiving the following error at the performance reporting plugin initilization:

    The code:

    Code (CSharp):
    1. using UnityEngine;
    2. using UnityEngine.CrashLog;
    3.  
    4. public class GamePerformanceInit : MonoBehaviour
    5. {
    6.  
    7.     void Start()
    8.     {
    9.         CrashReporting.Init("XXX");
    10.     }
    11.  
    12. }
    13.  
    It's an empty project with the current version of the plugin.

    I've created a bug report for this a few minutes ago.

    Edit: Case 807426

    Greetings,

    Tim
     
  2. ChrisLundquist

    ChrisLundquist

    Unity Technologies

    Joined:
    Mar 2, 2015
    Posts:
    55
    Hey Tim!

    I'm guessing you dutifully followed our (out of date) setup instructions.
    The good news is that in Beta 22 you don't need to install the plugin as the website describes.
    You should be set just by deleting the plugin, and the initialization code referencing it.
    Then, in the services window, setting "Game Performance" to enabled.

    The new instructions will look something like this soon:

    upload_2016-6-20_15-30-10.png


    An easy way to test is to:
    - Enable Game Performance in the services window.
    - Make a scene with a cube (or sphere if you're feeling creative) that throws exceptions on update.
    - Hit the Play button in the editor, then unclick the play button.

    On the website you should see several exceptions within a few seconds.
    If you hit any snags, let me know!

    Hope this helps,
    Chris Lundquist
     
  3. Tuni

    Tuni

    Joined:
    May 24, 2013
    Posts:
    74
    Thank you Chris for you fast answer. Nice to hear that we can remove another plugin from our project.


    Can you add this to the release notes of the current beta? Because I don't think we are the only developers working with the unity beta and performance reporting.

    Greetings,

    Tim
     
    Last edited: Jun 21, 2016