MirrorNetworking / Mirror

#1 Open Source Unity Networking Library
https://mirror-networking.com
MIT License
5.26k stars 776 forks source link

IL2CPP error for type 'UnityEngine.Experimental.Rendering.RenderPipeline' in assembly #3140

Closed TusharMinche closed 2 years ago

TusharMinche commented 2 years ago

I am built a project called Try on watch. This project is based on AR(Augmented reality). This is a mobile application. So I build this project now I want to connect this project with my android studio because I want a login page or something more in my application that's why I'm connection my project with android studio. Like I want a button in android studio and when I click this then it open's my project like this. So I read about this and they told me that go to project setting -> player -> and change the scripting backend into IL2CPP. I did this and now when I export this project 4 error pop's up.

1)IL2CPP error for type 'UnityEngine.Experimental.Rendering.RenderPipeline' in assembly 'E:\Demo\Temp\StagingArea\assets\bin\Data\Managed\UnityEngine.dll' Additional information: Exception has been thrown by the target of an invocation.

2)Exception: C:\Program Files\Unity\Hub\Editor\2019.4.32f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!

3)Build completed with a result of 'Failed' in 46 seconds (45800 ms) UnityEngine.GUIUtility:ProcessEvent (int,intptr)

4)UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in <4330b7b9ef6d4dd780b09ebcbf09fc68>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <4330b7b9ef6d4dd780b09ebcbf09fc68>:0 UnityEngine.GUIUtility:ProcessEvent (int,intptr) 4)UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in <4330b7b9ef6d4dd780b09ebcbf09fc68>:0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <4330b7b9ef6d4dd780b09ebcbf09fc68>:0 UnityEngine.GUIUtility:ProcessEvent (int,intptr)

The project is based on a vuforia engine

I want to export my project then I will access this project in my android studio then I cam make a UI for my project.

unity

Desktop (please complete the following information):

Can someone plz help me about this?

JesusLuvsYooh commented 2 years ago

This seems to be more Android and Unity-related question? (You should try unity forums or their discord, maybe even google) This is for Mirror Multiplayer Networking-specific questions.

SoftwareGuy commented 2 years ago

Like Jesus said above, this error is not related to Mirror judging from your error report. If Mirror causes this error in the RenderPipeline (which is VERY odd/unlikely) then the team would look at it, otherwise you're better off asking in the Unity discord or forums.

miwarnec commented 2 years ago

can you check the logs if the IL2CPP error is coming form Mirror's ILPOstProcessor or from Unity's?

MrGadget1024 commented 2 years ago

Closing for lack of response and that it appears to be on Unity's side. Reopen if more current info becomes available.