The Unity error regarding IL2CPP. HELP PLEASEEEE!

I need help with the error I’m about to send. I’ve tried several videos, I’ve seen several forums, and so far I haven’t been able to understand what is causing this error regarding IL2CPP. I can’t build because of this error. Please, can someone help me? I’m starting to go crazy :s

9795792–1405791–ErroUnity.txt (7.45 KB)

Why is this error happening? What should I do? I’m using version 2023.1.11f1 .

Can you post the code of void UniversalNetworkInput.Network.UNClient::ProcessMessagePool?
What is the type of NetworkError?

1 Like

That error would indicate either an il2cpp bug or invalid IL. You could use PEVerify to check if the assembly is valid. If PEVerify reports a problem in the same method then it’s most likely invalid il. My guess would be some tooling is modifying the assembly incorrectly.

Another thing you could try is opening the assembly in a tool such as ILSPy, navigate to the method “ProcessMessagePool” and see if ILSpy will show you the C#. If the method has invalid IL ILSpy will often show an error when showing the C#.

If PEVerify doesn’t report any problems or if you want us to take a look you can submit a bug report with a repro project.

Thanks,
-Mike

1 Like

I ran PEVerify on the dll that was giving an error and this was the return of PEVerify, what does this mean?

I ran PEVerify on the dll that was giving an error and this was the return of PEVerify, what does this mean?

9800346–1406727–PEVerifyErro.txt (4.97 KB)

The errors from PEVerify are coming from code in the UniversalNetworkInput namespace - are you using this asset UNInput: Universal Network Input | Utilities Tools | Unity Asset Store? If so it looks like that hasn’t been updated since 2017 and is likely not compatible with newer versions of Unity.

1 Like

THAT WAS IT!!! I downloaded this package at the beginning of the project, but I wasn’t using it, just using one of the images inside it. But as soon as I deleted some folders from this package, I was able to build!!! Thank you so much for the help you three gave me, I didn’t know what else to do!! May God bless your lives abundantly!! Thank you from the bottom of my heart!!!