Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 50821a9

Browse files
authored
Upgrade to Unity entities 0.7.0 (#97)
1 parent f6627d1 commit 50821a9

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- The Blank Project now requires Unity 2019.3. [#96](https://github.com/spatialos/gdk-for-unity-blank-project/pull/96)
88

9+
### Changed
10+
11+
- Upgraded Unity entities package to `0.7.0`. [#97](https://github.com/spatialos/gdk-for-unity-blank-project/pull/97)
12+
913
## `0.3.4` - 2020-03-25
1014

1115
### Breaking Changes

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
develop 79dc4b1c77fdf58ba082dc448d6519462cec7159
1+
develop b03b2129f9c2fccc7058f49fbf3a89c61376a881

workers/unity/Assets/BlankProject/Scripts/Metrics/MetricSendSystem.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected override void OnCreate()
3838
? DefaultTargetFrameRate
3939
: Application.targetFrameRate;
4040

41-
lastFrameCount = Time.frameCount;
41+
lastFrameCount = UnityEngine.Time.frameCount;
4242
calculatedFps = targetFps;
4343

4444
timeOfLastUpdate = DateTime.Now;
@@ -76,8 +76,8 @@ private double CalculateLoad()
7676

7777
private void CalculateFps()
7878
{
79-
var frameCount = Time.frameCount - lastFrameCount;
80-
lastFrameCount = Time.frameCount;
79+
var frameCount = UnityEngine.Time.frameCount - lastFrameCount;
80+
lastFrameCount = UnityEngine.Time.frameCount;
8181
var rawFps = frameCount / (DateTime.Now - timeOfLastUpdate).TotalSeconds;
8282
calculatedFps = (rawFps * (1 - smoothing)) + (calculatedFps * smoothing);
8383
}

workers/unity/ProjectSettings/ProjectSettings.asset

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ PlayerSettings:
103103
xboxOneMonoLoggingLevel: 0
104104
xboxOneLoggingLevel: 1
105105
xboxOneDisableEsram: 0
106+
xboxOneEnableTypeOptimization: 0
106107
xboxOnePresentImmediateThreshold: 0
107108
switchQueueCommandMemory: 0
108109
switchQueueControlMemory: 16384
@@ -691,7 +692,7 @@ PlayerSettings:
691692
gcIncremental: 0
692693
gcWBarrierValidation: 0
693694
apiCompatibilityLevelPerPlatform:
694-
Standalone: 3
695+
Standalone: 6
695696
m_RenderingPath: 1
696697
m_MobileRenderingPath: 1
697698
metroPackageName: Template_3D

0 commit comments

Comments
 (0)