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

Commit 3477c85

Browse files
authored
Unity 2019.2.0f1 (#71)
* Update bootstrap + shared ci pin to temp 2019.1 ci * Upgrade to 2019.2.0f1 * Changelog * Use new queue * Buildkite V2 * Fix bootstrap checkout * Update bootstrap for better pinning Update pins * Re-pin shared-ci * Update buildkite queue * re-pin latest gdk * re-pin GDK * Disable Burst AOT for Linux x64
1 parent f81a0a1 commit 3477c85

File tree

11 files changed

+65
-35
lines changed

11 files changed

+65
-35
lines changed

.buildkite/premerge.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ common: &common
1313
- "environment=production"
1414
- "permission_set=builder"
1515
- "platform=windows"
16-
- "queue=v3-1562257704-92dadf3bbbe69f0b-------z"
16+
- "queue=v3-1566854625-09d22e84794c4a34-------z"
1717
- "scaler_version=2"
1818
- "minimum_instances=1"
1919
- "agent_count=1"

.buildkite/release-qa.steps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ common: &common
1313
- "environment=production"
1414
- "permission_set=builder"
1515
- "platform=windows"
16-
- "queue=v3-1562257704-92dadf3bbbe69f0b-------z"
16+
- "queue=v3-1566854625-09d22e84794c4a34-------z"
1717
- "scaler_version=2"
1818
- "minimum_instances=1"
1919
- "agent_count=1"

CHANGELOG.md

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

33
## Unreleased
44

5+
### Changed
6+
7+
- Upgraded the project to be compatible with `2019.2.0f1`.
8+
59
## `0.2.7` - 2019-08-19
610

711
### Breaking changes

ci/UnityEditorHash.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

ci/bootstrap.sh

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ if [[ -n "${DEBUG-}" ]]; then
55
set -x
66
fi
77

8-
98
function isLinux() {
109
[[ "$(uname -s)" == "Linux" ]];
1110
}
@@ -24,7 +23,8 @@ echo "--- Bootstrapping :boot:"
2423

2524
SHARED_CI_DIR="$(pwd)/.shared-ci"
2625
CLONE_URL="[email protected]:spatialos/gdk-for-unity-shared-ci.git"
27-
PINNED_SHARED_CI_VERSION=$(cat ./ci/shared-ci.pinned)
26+
PINNED_SHARED_CI_BRANCH=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 1)
27+
PINNED_SHARED_CI_VERSION=$(cat ./ci/shared-ci.pinned | cut -d' ' -f 2)
2828

2929
# Clone the HEAD of the shared CI repo into ".shared-ci"
3030

@@ -38,40 +38,47 @@ mkdir "${SHARED_CI_DIR}"
3838
pushd "${SHARED_CI_DIR}"
3939
git init
4040
git remote add origin "${CLONE_URL}"
41-
git fetch --depth 20 origin master
41+
git fetch --depth 20 origin "${PINNED_SHARED_CI_BRANCH}"
4242
git checkout "${PINNED_SHARED_CI_VERSION}"
4343
popd
4444

4545
# Clone the GDK for Unity repository
4646

4747
CLONE_URI="[email protected]:spatialos/gdk-for-unity.git"
4848
TARGET_DIRECTORY="$(realpath $(pwd)/../gdk-for-unity)"
49-
PINNED_VERSION=$(cat ./gdk.pinned)
49+
PINNED_BRANCH=$(cat ./gdk.pinned | cut -d' ' -f 1)
50+
PINNED_VERSION=$(cat ./gdk.pinned | cut -d' ' -f 2)
51+
SKIP_GDK=false
5052

5153
if [[ -z ${BUILDKITE:-} ]]; then
5254
echo "Warning: About to delete ${TARGET_DIRECTORY}. Please confirm. (Default is Cancel)"
53-
read -p "Y/N > " -r
55+
read -p "Y/N/S > " -r
5456
echo # (optional) move to a new line
5557
if [[ $REPLY =~ ^[Yy]$ ]]; then
5658
echo "Deleting..."
59+
elif [[ $REPLY =~ ^[Ss]$ ]]; then
60+
echo "Skipping..."
61+
SKIP_GDK=true
5762
else
5863
exit 1
5964
fi
6065
fi
6166

62-
rm -rf "${TARGET_DIRECTORY}"
67+
if [ "$SKIP_GDK" = false ] ; then
68+
rm -rf "${TARGET_DIRECTORY}"
6369

64-
mkdir "${TARGET_DIRECTORY}"
70+
mkdir "${TARGET_DIRECTORY}"
6571

66-
# Workaround for being unable to clone a specific commit with depth of 1.
67-
pushd "${TARGET_DIRECTORY}"
68-
git init
69-
git remote add origin "${CLONE_URI}"
70-
git fetch --depth 20 origin develop
71-
git checkout "${PINNED_VERSION}"
72-
echo "--- Hit init :right-facing_fist::red_button:"
73-
./init.sh
74-
popd
72+
# Workaround for being unable to clone a specific commit with depth of 1.
73+
pushd "${TARGET_DIRECTORY}"
74+
git init
75+
git remote add origin "${CLONE_URI}"
76+
git fetch --depth 20 origin "${PINNED_BRANCH}"
77+
git checkout "${PINNED_VERSION}"
78+
echo "--- Hit init :right-facing_fist::red_button:"
79+
./init.sh
80+
popd
81+
fi
7582

7683
echo "--- Symlinking packages :link::package:"
7784

ci/shared-ci.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4085a20354d1e41502de36e1330bd589576edb58
1+
master 16af8b4696032d897ba4d8075eaa61355f06f488

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
06858069686faffce4c93212e2b6d160e40a9f09
1+
develop 4dbd8790baf3a334249742e3d8c1ab724a36314c

workers/unity/Packages/manifest.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"dependencies": {
3+
"com.unity.ads": "2.0.8",
4+
"com.unity.analytics": "3.3.2",
5+
"com.unity.ide.rider": "1.0.8",
6+
"com.unity.package-manager-ui": "2.2.0",
7+
"com.unity.purchasing": "2.0.6",
8+
"com.unity.test-framework": "1.0.13",
9+
"com.unity.textmeshpro": "2.0.1",
10+
"com.unity.timeline": "1.1.0",
11+
"com.unity.ugui": "1.0.0",
12+
"com.unity.xr.legacyinputhelpers": "2.0.2",
313
"io.improbable.gdk.buildsystem": "0.2.7",
414
"io.improbable.gdk.core": "0.2.7",
515
"io.improbable.gdk.debug": "0.2.7",
@@ -10,13 +20,6 @@
1020
"io.improbable.gdk.testutils": "0.2.7",
1121
"io.improbable.gdk.tools": "0.2.7",
1222
"io.improbable.gdk.transformsynchronization": "0.2.7",
13-
"com.unity.ads": "2.0.8",
14-
"com.unity.analytics": "3.3.2",
15-
"com.unity.package-manager-ui": "2.1.2",
16-
"com.unity.purchasing": "2.0.6",
17-
"com.unity.textmeshpro": "2.0.0",
18-
"com.unity.timeline": "1.0.0",
19-
"com.unity.xr.legacyinputhelpers": "2.0.2",
2023
"com.unity.modules.ai": "1.0.0",
2124
"com.unity.modules.animation": "1.0.0",
2225
"com.unity.modules.assetbundle": "1.0.0",
@@ -48,7 +51,7 @@
4851
"com.unity.modules.wind": "1.0.0",
4952
"com.unity.modules.xr": "1.0.0"
5053
},
51-
"registry": "https://staging-packages.unity.com",
54+
"registry": "https://packages.unity.com",
5255
"scopedRegistries": [
5356
{
5457
"name": "Improbable",
@@ -58,4 +61,4 @@
5861
]
5962
}
6063
]
61-
}
64+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"MonoBehaviour": {
3+
"m_Enabled": true,
4+
"m_EditorHideFlags": 0,
5+
"m_Name": "",
6+
"m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
7+
"DisableOptimisations": false,
8+
"DisableSafetyChecks": true,
9+
"DisableBurstCompilation": true
10+
}
11+
}

workers/unity/ProjectSettings/ProjectSettings.asset

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--- !u!129 &1
44
PlayerSettings:
55
m_ObjectHideFlags: 0
6-
serializedVersion: 16
6+
serializedVersion: 18
77
productGUID: 48dba98ff9fbf9e4f825b8a68154a36b
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
@@ -52,8 +52,8 @@ PlayerSettings:
5252
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
5353
iosShowActivityIndicatorOnLoading: -1
5454
androidShowActivityIndicatorOnLoading: -1
55-
iosAppInBackgroundBehavior: 0
5655
displayResolutionDialog: 1
56+
iosUseCustomAppBackgroundBehavior: 0
5757
iosAllowHTTPDownload: 1
5858
allowedAutorotateToPortrait: 1
5959
allowedAutorotateToPortraitUpsideDown: 1
@@ -65,6 +65,7 @@ PlayerSettings:
6565
disableDepthAndStencilBuffers: 0
6666
androidStartInFullscreen: 1
6767
androidRenderOutsideSafeArea: 0
68+
androidUseSwappy: 0
6869
androidBlitType: 0
6970
defaultIsNativeResolution: 1
7071
macRetinaSupport: 1
@@ -79,6 +80,7 @@ PlayerSettings:
7980
usePlayerLog: 1
8081
bakeCollisionMeshes: 0
8182
forceSingleInstance: 0
83+
useFlipModelSwapchain: 1
8284
resizableWindow: 0
8385
useMacAppStoreValidation: 0
8486
macAppStoreCategory: public.app-category.games
@@ -148,6 +150,7 @@ PlayerSettings:
148150
oculus:
149151
sharedDepthBuffer: 0
150152
dashSupport: 0
153+
lowOverheadMode: 0
151154
enable360StereoCapture: 0
152155
isWsaHolographicRemotingEnabled: 0
153156
protectGraphicsMemory: 0
@@ -270,6 +273,8 @@ PlayerSettings:
270273
height: 180
271274
banner: {fileID: 0}
272275
androidGamepadSupportLevel: 0
276+
AndroidValidateAppBundleSize: 1
277+
AndroidAppBundleSizeToValidate: 150
273278
resolutionDialogBanner: {fileID: 0}
274279
m_BuildTargetIcons: []
275280
m_BuildTargetPlatformIcons:
@@ -400,10 +405,10 @@ PlayerSettings:
400405
m_Devices:
401406
- Oculus
402407
- OpenVR
403-
m_BuildTargetEnableVuforiaSettings: []
404408
openGLRequireES31: 0
405409
openGLRequireES31AEP: 0
406410
openGLRequireES32: 0
411+
vuforiaEnabled: 0
407412
m_TemplateCustomTags: {}
408413
mobileMTRendering:
409414
Android: 1
@@ -621,6 +626,7 @@ PlayerSettings:
621626
monoEnv:
622627
splashScreenBackgroundSourceLandscape: {fileID: 0}
623628
splashScreenBackgroundSourcePortrait: {fileID: 0}
629+
blurSplashScreenBackground: 1
624630
spritePackerPolicy:
625631
webGLMemorySize: 256
626632
webGLExceptionSupport: 1

0 commit comments

Comments
 (0)