Unity. Your mono runtime and class libraries are out of sync

0

Hi! I have problem in unity server build. Instance AmazonLinux. I use unity 2021.2. Because it's have new feature "dedicated server" target build. Settings: IL2CPP, .net framework.

How can I fix this?

cant resolve internal call to "System.Runtime.InteropServices.Marshal::GetIUnknownForObjectInternal(object)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /local/game/GameServer_Data/Managed/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
cant resolve internal call to "System.Runtime.InteropServices.Marshal::GetHRForException_WinRT(System.Exception)" (tested without signature also)
asked 2 years ago870 views
2 Answers
0

Fixed, just rebuilt server. Sorry for topic, it can be closed/removed. Succesfuly integrated gamelift, works amazing! Thanks.

answered 2 years ago
0

Awesome! Glad to hear!

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions