After I built and run the game (with Mono) I have a lot of errors in console:
Could not produce class with ID 2089858483.
(Filename: C:\buildslave\unity\build\Runtime/Serialize/PersistentManager.cpp Line: 1544)
Despite the error, the game is working mostly fine.
I found that it happens when some classes were stripped during the build. But I have never get this error before. Do you have any thoughts, where I can start, to find missing class in the build?
I also have Managed stripping level set to Disabled.
Also every time I build the game, the build fails with the error from here: https://issuetracker.unity3d.com/issues/android-build-and-run-fails-when-rewired-is-present-in-the-project
But if I run it second time, the error does not occur. Can it be related to this problem? And is there any ETA when the fix will land onto 2019.3? (I see the Planned for 2019.3 bar)
Our teams are working on backporting the fix into 2019.3 and it should come in beta 7. (beta 6 is going to QA today)
This issue is present on many if not all platforms and is due to the change in 2019.3 where they moved the Unity UI classes to the package manager. This library is used by Rewired and the linking isn’t happening correctly the first time you do a build. It always works to build twice in a row. I’m glad to hear this is being fixed.
Both issues are present in 2019.3b7
The backport is currently blocked by another issue that needs to be fixed first. Should get merged this week.