Skip to content

Commit b935421

Browse files
committed
Merge branch 'master' into 2022.3
# Conflicts: # ProjectSettings/ProjectSettings.asset
2 parents 232a609 + 1b518da commit b935421

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
buildMethod: UnityBuilderAction.BuildScript.BuildWithCommandlineArgs
102102
customParameters: -tag ${{ needs.variables.outputs.TAG }}
103103
targetPlatform: WebGL
104+
versioning: None
104105
buildName: ${{ needs.variables.outputs.BUILD_NAME }}
105106

106107
- uses: actions/upload-artifact@v4

Assets/Plugins/WebGL/WebBridge/WebBridge.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ private static void SetGlobalVariables()
8585
}
8686
WebToolPlugins.SetVariable("webGlVersion", webGraphics);
8787
WebToolPlugins.SetVariable("unityVersion", Application.unityVersion);
88+
WebToolPlugins.SetVariable("applicationVersion", Application.version);
8889
#if !UNITY_EDITOR && UNITY_WEBGL
8990
WebToolPlugins.SetVariable("unityCaptureAllKeyboardInputDefault", WebGLInput.captureAllKeyboardInput?"true":"false");
9091
#endif

Assets/WebGLTemplates/Develop/debug-console.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,9 +553,9 @@ function getInfoPanel() {
553553
infoPanel.id = 'infoPanel';
554554
document.body.appendChild(infoPanel);
555555
var infoHeader = document.createElement('h3');
556-
if (typeof unityVersion != `undefined` && typeof webGlVersion != `undefined`) {
556+
if (typeof unityVersion != `undefined` && typeof applicationVersion != `undefined` && typeof webGlVersion != `undefined`) {
557557
// Set by WebGlBridge in Unity
558-
infoHeader.textContent = `Unity ${unityVersion} (${webGlVersion})`;
558+
infoHeader.textContent = `Unity ${unityVersion}@${applicationVersion} (${webGlVersion})`;
559559
} else {
560560
infoHeader.textContent = `Unity InfoPanel`;
561561
}

ProjectSettings/ProjectSettings.asset

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ PlayerSettings:
4848
defaultScreenHeightWeb: 600
4949
m_StereoRenderingPath: 0
5050
m_ActiveColorSpace: 0
51+
unsupportedMSAAFallback: 0
5152
m_SpriteBatchVertexThreshold: 300
5253
m_MTRendering: 1
5354
mipStripping: 0
@@ -75,6 +76,7 @@ PlayerSettings:
7576
androidMinimumWindowWidth: 400
7677
androidMinimumWindowHeight: 300
7778
androidFullscreenMode: 1
79+
androidAutoRotationBehavior: 1
7880
defaultIsNativeResolution: 1
7981
macRetinaSupport: 1
8082
runInBackground: 0
@@ -86,6 +88,7 @@ PlayerSettings:
8688
hideHomeButton: 0
8789
submitAnalytics: 1
8890
usePlayerLog: 1
91+
dedicatedServerOptimizations: 0
8992
bakeCollisionMeshes: 0
9093
forceSingleInstance: 0
9194
useFlipModelSwapchain: 1
@@ -125,6 +128,7 @@ PlayerSettings:
125128
switchNVNMaxPublicTextureIDCount: 0
126129
switchNVNMaxPublicSamplerIDCount: 0
127130
switchNVNGraphicsFirmwareMemory: 32
131+
switchMaxWorkerMultiple: 8
128132
stadiaPresentMode: 0
129133
stadiaTargetFramerate: 0
130134
vulkanNumSwapchainBuffers: 3
@@ -133,7 +137,9 @@ PlayerSettings:
133137
vulkanEnableLateAcquireNextImage: 0
134138
vulkanEnableCommandBufferRecycling: 1
135139
loadStoreDebugModeEnabled: 0
136-
bundleVersion: 1.0.0
140+
visionOSBundleVersion: 1.0
141+
tvOSBundleVersion: 1.0
142+
bundleVersion: 1.1.0
137143
preloadedAssets: []
138144
metroInputSource: 0
139145
wsaTransparentSwapchain: 0
@@ -145,6 +151,7 @@ PlayerSettings:
145151
isWsaHolographicRemotingEnabled: 0
146152
enableFrameTimingStats: 0
147153
enableOpenGLProfilerGPURecorders: 1
154+
allowHDRDisplaySupport: 0
148155
useHDRDisplay: 0
149156
hdrBitDepth: 0
150157
m_ColorGamuts: 00000000
@@ -153,9 +160,11 @@ PlayerSettings:
153160
resetResolutionOnWindowResize: 0
154161
androidSupportedAspectRatio: 1
155162
androidMaxAspectRatio: 2.1
156-
applicationIdentifier: {}
163+
applicationIdentifier:
164+
Standalone: com.JohannesDeml.WebLoadingTest
157165
buildNumber:
158166
Standalone: 1.0.0
167+
VisionOS: 0
159168
iPhone: 0
160169
tvOS: 0
161170
overrideDefaultApplicationIdentifier: 0
@@ -180,6 +189,8 @@ PlayerSettings:
180189
tvOSSdkVersion: 0
181190
tvOSRequireExtendedGameController: 0
182191
tvOSTargetOSVersionString: 12.0
192+
VisionOSSdkVersion: 0
193+
VisionOSTargetOSVersionString: 1.0
183194
uIPrerenderedIcon: 0
184195
uIRequiresPersistentWiFi: 0
185196
uIRequiresFullScreen: 1
@@ -227,8 +238,10 @@ PlayerSettings:
227238
appleDeveloperTeamID:
228239
iOSManualSigningProvisioningProfileID:
229240
tvOSManualSigningProvisioningProfileID:
241+
VisionOSManualSigningProvisioningProfileID:
230242
iOSManualSigningProvisioningProfileType: 0
231243
tvOSManualSigningProvisioningProfileType: 0
244+
VisionOSManualSigningProvisioningProfileType: 0
232245
appleEnableAutomaticSigning: 0
233246
iOSRequireARKit: 0
234247
iOSAutomaticallyDetectAndAddCapabilities: 1
@@ -572,7 +585,7 @@ PlayerSettings:
572585
switchSocketConcurrencyLimit: 14
573586
switchScreenResolutionBehavior: 2
574587
switchUseCPUProfiler: 0
575-
switchUseGOLDLinker: 0
588+
switchEnableFileSystemTrace: 0
576589
switchLTOSetting: 0
577590
switchApplicationID: 0x01004b9000490000
578591
switchNSODependencies:
@@ -702,7 +715,6 @@ PlayerSettings:
702715
switchSocketBufferEfficiency: 4
703716
switchSocketInitializeEnabled: 1
704717
switchNetworkInterfaceManagerInitializeEnabled: 1
705-
switchPlayerConnectionEnabled: 1
706718
switchUseNewStyleFilepaths: 0
707719
switchUseLegacyFmodPriorities: 0
708720
switchUseMicroSleepForYield: 1
@@ -812,7 +824,9 @@ PlayerSettings:
812824
webGLMemoryGeometricGrowthStep: 0.2
813825
webGLMemoryGeometricGrowthCap: 96
814826
webGLPowerPreference: 2
815-
scriptingDefineSymbols: {}
827+
scriptingDefineSymbols:
828+
Standalone:
829+
WebGL: WEBTOOLS_LOG_CALLS
816830
additionalCompilerArguments: {}
817831
platformArchitecture: {}
818832
scriptingBackend: {}
@@ -828,6 +842,7 @@ PlayerSettings:
828842
PS5: 1
829843
QNX: 1
830844
Stadia: 1
845+
VisionOS: 1
831846
WebGL: 3
832847
Windows Store Apps: 1
833848
XboxOne: 1

0 commit comments

Comments
 (0)