Unity Project Settings?

441 views
Skip to first unread message

Tiago

unread,
Sep 8, 2018, 2:41:54 AM9/8/18
to firebase-unity-solutions
Hi,
I am trying to run the demo, but I am getting a couple of errors.


"Unloading broken assembly Assets/Firebase/Editor/Firebase.Editor.dll, this assembly can cause crashes in the runtime"
"Assets/firebase-unity-solutions/Firebase_Leaderboard/Demo/DemoUIController.cs(400,63): error CS0012: The type `System.Threading.Tasks.Task' is defined in an assembly that is not referenced. Consider adding a reference to assembly `Unity.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'" 

I believe that the problem is with my project settings.
I have it the api compatibility level set as 2.0, but I might be missing something else.

Can you help me figure it out?
My settings are attached.




settings_001.PNG
settings_002.PNG

Dane Liergaard

unread,
Sep 10, 2018, 12:29:05 PM9/10/18
to Tiago, firebase-unity-solutions
Hi Tiago, I haven't seen this error before so I will have to investigate. What version of Unity are you using?

One thing I see suggested when similar errors are encountered is using the fully qualified class name for System.Threading.Tasks.Task, because Unity also supplies their own Task class (just in case things weren't confusing enough already). You could try replacing places where "Task" is used in the code with "System.Threading.Tasks.Task" and see if that helps. If it does, please let me know, as I will submit that in the code so no one else has the same error.

Best of luck and I will continue looking into it and trying to repro the error.
DZ

--
You received this message because you are subscribed to the Google Groups "firebase-unity-solutions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-unity-sol...@googlegroups.com.
To post to this group, send email to firebase-uni...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-unity-solutions/170c7285-bc88-492a-910d-fd2a2a4b93fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages