Skip to content

Commit a02699c

Browse files
fix(mac): preserve AltTester assemblies from UnityLinker stripping
Add link.xml to preserve AltTester assemblies from UnityLinker on Unity 6 macOS. This prevents missing-script issues on AltTesterPrefab and allows the AltTester server to listen on the expected port.
1 parent 180e47d commit a02699c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

sample-unity6/Assets/link.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<linker>
2+
<!--
3+
Preserve AltTester types on Unity 6 macOS.
4+
The macOS Unity 6 build uses UnityLinker managed stripping (see CI build-log),
5+
and we observed missing-script issues on AltTesterPrefab at runtime which
6+
prevents the AltTester server from listening on port 13000.
7+
-->
8+
<assembly fullname="AltTester.AltTesterUnitySDK" preserve="all" />
9+
<assembly fullname="AltTester.AltTesterUnitySDK.Driver" preserve="all" />
10+
<assembly fullname="AltTester.AltTesterUnitySDK.Editor" preserve="all" />
11+
<assembly fullname="altwebsocket-sharp" preserve="all" />
12+
</linker>
13+

0 commit comments

Comments
 (0)