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)
已提問 3 年前檢視次數 878 次
2 個答案
0

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

已回答 3 年前
0

Awesome! Glad to hear!

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南