Skip to content

Commit 35b04ac

Browse files
committed
fix: disable NetworkBehaviourILPP on Runtime AssemblyDefinition, move Prototyping components into a separate AssemblyDefinition, Yamato CI to target 2020.1 instead of 2020.2
1 parent 7881f75 commit 35b04ac

12 files changed

Lines changed: 23 additions & 7 deletions

.yamato/project.metafile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Editors where tests will happen. The first entry of this array is also used
22
# for validation
33
test_editors:
4-
- 2020.2
4+
- 2020.1
55
- trunk
66

77
# Platforms that will be tested. The first entry in this array will also

com.unity.multiplayer.mlapi/Editor/CodeGen/NetworkBehaviourILPP.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ internal sealed class NetworkBehaviourILPP : ILPostProcessor
2020
public override ILPostProcessor GetInstance() => this;
2121

2222
public override bool WillProcess(ICompiledAssembly compiledAssembly) =>
23-
compiledAssembly.Name == CodeGenHelpers.RuntimeAssemblyName ||
2423
compiledAssembly.References.Any(filePath => Path.GetFileNameWithoutExtension(filePath) == CodeGenHelpers.RuntimeAssemblyName);
2524

2625
private readonly List<DiagnosticMessage> _diagnostics = new List<DiagnosticMessage>();

com.unity.multiplayer.mlapi/Editor/com.unity.multiplayer.mlapi.editor.asmdef

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "Unity.Multiplayer.MLAPI.Editor",
33
"rootNamespace": "",
44
"references": [
5-
"Unity.Multiplayer.MLAPI.Runtime"
5+
"Unity.Multiplayer.MLAPI.Runtime",
6+
"Unity.Multiplayer.MLAPI.Prototyping"
67
],
78
"includePlatforms": [
89
"Editor"

com.unity.multiplayer.mlapi/Runtime/Prototyping.meta renamed to com.unity.multiplayer.mlapi/Prototyping.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedAnimator.cs renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedAnimator.cs

File renamed without changes.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedAnimator.cs.meta renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedAnimator.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedNavMeshAgent.cs renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedNavMeshAgent.cs

File renamed without changes.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedNavMeshAgent.cs.meta renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedNavMeshAgent.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedTransform.cs renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedTransform.cs

File renamed without changes.

com.unity.multiplayer.mlapi/Runtime/Prototyping/NetworkedTransform.cs.meta renamed to com.unity.multiplayer.mlapi/Prototyping/NetworkedTransform.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)