Jonark
11/25/2025, 3:40 PMJarkko-Metaplay
11/25/2025, 4:46 PMMetaplay.Attributes.dll, and the assembly name here conflicts with Metaplay.Attributes name.
I just got this quick idea that perhaps we could work around this and get you unblocked by putting the Attributes folder under some other assembly name, let's say Metaplay.Core.Attributes. So here's some untested potential fixes 🙂Jarkko-Metaplay
11/25/2025, 4:46 PM{
"name": "Metaplay.Core.Attributes",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [
{
"name": "Unity",
"expression": "",
"define": "METAPLAY_CLIENT"
}
],
"noEngineReferences": true,
"rootNamespace": "Metaplay"
}Jarkko-Metaplay
11/25/2025, 4:47 PM--- a/MetaplaySDK/Client/Metaplay.Core.Tests/Metaplay.Core.Tests.asmdef
+++ b/MetaplaySDK/Client/Metaplay.Core.Tests/Metaplay.Core.Tests.asmdef
@@ -5,6 +5,7 @@
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"Metaplay",
+ "Metaplay.Core.Attributes",
"Metaplay.Unity",
"Metaplay.Unity.Editor"
],
--- a/MetaplaySDK/Client/Metaplay.asmdef
+++ b/MetaplaySDK/Client/Metaplay.asmdef
@@ -3,6 +3,7 @@
"references": [
"Metaplay.ThirdParty.BouncyCastle",
"Metaplay.ThirdParty.kcp2k",
+ "Metaplay.Core.Attributes",
"Unity.Collections",
"Unity.Mathematics",
"Unity.Burst"
--- a/MetaplaySDK/Client/Unity/Editor/Metaplay.Unity.Editor.asmdef
+++ b/MetaplaySDK/Client/Unity/Editor/Metaplay.Unity.Editor.asmdef
@@ -3,6 +3,7 @@
"rootNamespace": "",
"references": [
"Metaplay",
+ "Metaplay.Core.Attributes",
"Metaplay.Unity"
],
"includePlatforms": [
--- a/MetaplaySDK/Client/Unity/Metaplay.Unity.asmdef
+++ b/MetaplaySDK/Client/Unity/Metaplay.Unity.asmdef
@@ -3,6 +3,7 @@
"rootNamespace": "",
"references": [
"Metaplay",
+ "Metaplay.Core.Attributes",
"UnityEngine.Purchasing",
"UnityEngine.Purchasing.Stores",
"com.rlabrecque.steamworks.net",
And then in your Shared Code and the other assembly:
--- a/Assets/SharedCode/SharedCode.asmdef
+++ b/Assets/SharedCode/SharedCode.asmdef
@@ -2,7 +2,8 @@
"name": "SharedCode",
"rootNamespace": "",
"references": [
- "Metaplay"
+ "Metaplay",
+ "Metaplay.Core.Attributes"
],
"includePlatforms": [],
"excludePlatforms": [],Jonark
11/26/2025, 11:17 AMJonark
11/26/2025, 11:17 AMJonark
11/26/2025, 11:17 AMJonark
11/26/2025, 11:18 AMJonark
11/26/2025, 11:18 AMAntti // Metaplay
11/26/2025, 12:36 PMAntti // Metaplay
11/26/2025, 12:39 PMAntti // Metaplay
11/26/2025, 12:43 PMAssets/SharedCode), so the easiest approach is to put both/all of your split assemblies under that directory: for example Assets/SharedCode/Logic and Assets/SharedCode/Types.Jonark
11/26/2025, 6:13 PMJonark
11/26/2025, 6:13 PM