Mirror icon indicating copy to clipboard operation
Mirror copied to clipboard

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

Open TusharMinche opened this issue 2 years ago • 3 comments

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):

  • OS: Windows 10
  • Build target: Android, Unity
  • Unity version: 2019.4.32f1
  • Mirror branch:

Can someone plz help me about this?

TusharMinche avatar Apr 15 '22 17:04 TusharMinche

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.

JesusLuvsYooh avatar Apr 15 '22 18:04 JesusLuvsYooh

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.

SoftwareGuy avatar Apr 16 '22 01:04 SoftwareGuy

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

miwarnec avatar Apr 30 '22 02:04 miwarnec

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

MrGadget1024 avatar Nov 24 '22 12:11 MrGadget1024