Skip to content

Commit a34e7a1

Browse files
committed
Merge branch 'master' of https://github.com/JohannesDeml/UnityWebGL-LoadingTest into 2022.3
2 parents 6976878 + f15ea5b commit a34e7a1

File tree

4 files changed

+104
-61
lines changed

4 files changed

+104
-61
lines changed

Assets/Scripts/Editor/BuildScript.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,10 @@ public static void Build(string[] args)
189189
{
190190
#if UNITY_2023_2_OR_NEWER
191191
graphicsAPIs.Add(GraphicsDeviceType.WebGPU);
192+
#if UNITY_6000_0_OR_NEWER
192193
// Enable wasm2023 for WebGPU, since if webGPU is supported everything from 2023 is supported as well
193194
PlayerSettings.WebGL.wasm2023 = true;
195+
#endif
194196
#else
195197
LogError("WebGPU not supported yet");
196198
#endif

ProjectSettings/ProjectSettings.asset

Lines changed: 43 additions & 23 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: 26
6+
serializedVersion: 28
77
productGUID: 36128be55b3d22b46894bbc0c8443b80
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
@@ -17,7 +17,7 @@ PlayerSettings:
1717
defaultCursor: {fileID: 0}
1818
cursorHotspot: {x: 0, y: 0}
1919
m_SplashScreenBackgroundColor: {r: 1, g: 1, b: 1, a: 1}
20-
m_ShowUnitySplashScreen: 1
20+
m_ShowUnitySplashScreen: 0
2121
m_ShowUnitySplashLogo: 1
2222
m_SplashScreenOverlayOpacity: 1
2323
m_SplashScreenAnimation: 1
@@ -49,6 +49,7 @@ PlayerSettings:
4949
m_StereoRenderingPath: 0
5050
m_ActiveColorSpace: 0
5151
unsupportedMSAAFallback: 0
52+
m_SpriteBatchMaxVertexCount: 65535
5253
m_SpriteBatchVertexThreshold: 300
5354
m_MTRendering: 1
5455
mipStripping: 0
@@ -70,17 +71,18 @@ PlayerSettings:
7071
androidRenderOutsideSafeArea: 1
7172
androidUseSwappy: 0
7273
androidBlitType: 0
73-
androidResizableWindow: 0
74+
androidResizeableActivity: 0
7475
androidDefaultWindowWidth: 1920
7576
androidDefaultWindowHeight: 1080
7677
androidMinimumWindowWidth: 400
7778
androidMinimumWindowHeight: 300
7879
androidFullscreenMode: 1
7980
androidAutoRotationBehavior: 1
81+
androidPredictiveBackSupport: 0
82+
androidApplicationEntry: 1
8083
defaultIsNativeResolution: 1
8184
macRetinaSupport: 1
8285
runInBackground: 0
83-
captureSingleScreen: 0
8486
muteOtherAudioSources: 0
8587
Prepare IOS For Recording: 0
8688
Force IOS Speakers When Recording: 0
@@ -96,6 +98,7 @@ PlayerSettings:
9698
useMacAppStoreValidation: 0
9799
macAppStoreCategory: public.app-category.games
98100
gpuSkinning: 1
101+
meshDeformation: 2
99102
xboxPIXTextureCapture: 0
100103
xboxEnableAvatar: 0
101104
xboxEnableKinect: 0
@@ -127,10 +130,8 @@ PlayerSettings:
127130
switchAllowGpuScratchShrinking: 0
128131
switchNVNMaxPublicTextureIDCount: 0
129132
switchNVNMaxPublicSamplerIDCount: 0
130-
switchNVNGraphicsFirmwareMemory: 32
131133
switchMaxWorkerMultiple: 8
132-
stadiaPresentMode: 0
133-
stadiaTargetFramerate: 0
134+
switchNVNGraphicsFirmwareMemory: 32
134135
vulkanNumSwapchainBuffers: 3
135136
vulkanEnableSetSRGBWrite: 0
136137
vulkanEnablePreTransform: 0
@@ -160,6 +161,7 @@ PlayerSettings:
160161
resetResolutionOnWindowResize: 0
161162
androidSupportedAspectRatio: 1
162163
androidMaxAspectRatio: 2.1
164+
androidMinAspectRatio: 1
163165
applicationIdentifier:
164166
Standalone: com.JohannesDeml.WebLoadingTest
165167
buildNumber:
@@ -169,7 +171,7 @@ PlayerSettings:
169171
tvOS: 0
170172
overrideDefaultApplicationIdentifier: 0
171173
AndroidBundleVersionCode: 1
172-
AndroidMinSdkVersion: 22
174+
AndroidMinSdkVersion: 23
173175
AndroidTargetSdkVersion: 0
174176
AndroidPreferredInstallLocation: 1
175177
aotOptions:
@@ -179,16 +181,18 @@ PlayerSettings:
179181
ForceInternetPermission: 0
180182
ForceSDCardPermission: 0
181183
CreateWallpaper: 0
182-
APKExpansionFiles: 0
184+
androidSplitApplicationBinary: 0
183185
keepLoadedShadersAlive: 0
184186
StripUnusedMeshComponents: 1
185187
strictShaderVariantMatching: 0
186188
VertexChannelCompressionMask: 4054
187189
iPhoneSdkVersion: 988
188-
iOSTargetOSVersionString: 12.0
190+
iOSSimulatorArchitecture: 0
191+
iOSTargetOSVersionString: 13.0
189192
tvOSSdkVersion: 0
193+
tvOSSimulatorArchitecture: 0
190194
tvOSRequireExtendedGameController: 0
191-
tvOSTargetOSVersionString: 12.0
195+
tvOSTargetOSVersionString: 13.0
192196
VisionOSSdkVersion: 0
193197
VisionOSTargetOSVersionString: 1.0
194198
uIPrerenderedIcon: 0
@@ -215,15 +219,13 @@ PlayerSettings:
215219
rgba: 0
216220
iOSLaunchScreenFillPct: 100
217221
iOSLaunchScreenSize: 100
218-
iOSLaunchScreenCustomXibPath:
219222
iOSLaunchScreeniPadType: 0
220223
iOSLaunchScreeniPadImage: {fileID: 0}
221224
iOSLaunchScreeniPadBackgroundColor:
222225
serializedVersion: 2
223226
rgba: 0
224227
iOSLaunchScreeniPadFillPct: 100
225228
iOSLaunchScreeniPadSize: 100
226-
iOSLaunchScreeniPadCustomXibPath:
227229
iOSLaunchScreenCustomStoryboardPath:
228230
iOSLaunchScreeniPadCustomStoryboardPath:
229231
iOSDeviceRequirements: []
@@ -233,6 +235,7 @@ PlayerSettings:
233235
iOSMetalForceHardShadows: 0
234236
metalEditorSupport: 1
235237
metalAPIValidation: 1
238+
metalCompileShaderBinary: 0
236239
iOSRenderExtraFrameOnPause: 0
237240
iosCopyPluginsCodeInsteadOfSymlink: 0
238241
appleDeveloperTeamID:
@@ -259,12 +262,12 @@ PlayerSettings:
259262
useCustomGradleSettingsTemplate: 0
260263
useCustomProguardFile: 0
261264
AndroidTargetArchitectures: 5
262-
AndroidTargetDevices: 0
263265
AndroidSplashScreenScale: 0
264266
androidSplashScreen: {fileID: 0}
265267
AndroidKeystoreName: '{inproject}: '
266268
AndroidKeyaliasName:
267269
AndroidEnableArmv9SecurityFeatures: 0
270+
AndroidEnableArm64MTE: 0
268271
AndroidBuildApkPerCpuArchitecture: 0
269272
AndroidTVCompatibility: 1
270273
AndroidIsGame: 1
@@ -277,11 +280,12 @@ PlayerSettings:
277280
height: 180
278281
banner: {fileID: 0}
279282
androidGamepadSupportLevel: 0
280-
chromeosInputEmulation: 1
281283
AndroidMinifyRelease: 0
282284
AndroidMinifyDebug: 0
283285
AndroidValidateAppBundleSize: 1
284286
AndroidAppBundleSizeToValidate: 150
287+
AndroidReportGooglePlayAppDependencies: 1
288+
androidSymbolsSizeThreshold: 800
285289
m_BuildTargetIcons: []
286290
m_BuildTargetPlatformIcons:
287291
- m_BuildTarget: Android
@@ -524,7 +528,7 @@ PlayerSettings:
524528
m_GraphicsJobMode: 0
525529
m_BuildTargetGraphicsAPIs:
526530
- m_BuildTarget: AndroidPlayer
527-
m_APIs: 0b00000008000000
531+
m_APIs: 0b000000
528532
m_Automatic: 0
529533
- m_BuildTarget: iOSSupport
530534
m_APIs: 10000000
@@ -555,29 +559,31 @@ PlayerSettings:
555559
iPhone: 1
556560
tvOS: 1
557561
m_BuildTargetGroupLightmapEncodingQuality:
558-
- m_BuildTarget: WebGL
562+
- serializedVersion: 2
563+
m_BuildTarget: WebGL
559564
m_EncodingQuality: 0
560-
m_BuildTargetGroupHDRCubemapEncodingQuality:
561-
- m_BuildTarget: WebGL
562-
m_EncodingQuality: 1
563565
m_BuildTargetGroupLightmapSettings:
564566
- m_BuildTarget: WebGL
565567
m_TextureStreamingEnabled: 0
566568
m_TextureStreamingPriority: 0
567569
m_BuildTargetGroupLoadStoreDebugModeSettings: []
568570
m_BuildTargetNormalMapEncoding: []
569-
m_BuildTargetDefaultTextureCompressionFormat: []
571+
m_BuildTargetDefaultTextureCompressionFormat:
572+
- serializedVersion: 3
573+
m_BuildTarget: WebGL
574+
m_Formats: 05000000
570575
playModeTestRunnerEnabled: 0
571576
runPlayModeTestAsEditModeTest: 0
572577
actionOnDotNetUnhandledException: 1
578+
editorGfxJobOverride: 1
573579
enableInternalProfiler: 0
574580
logObjCUncaughtExceptions: 1
575581
enableCrashReportAPI: 0
576582
cameraUsageDescription:
577583
locationUsageDescription:
578584
microphoneUsageDescription:
579585
bluetoothUsageDescription:
580-
macOSTargetOSVersion: 10.13.0
586+
macOSTargetOSVersion: 11.0
581587
switchNMETAOverride:
582588
switchNetLibKey:
583589
switchSocketMemoryPoolSize: 6144
@@ -715,12 +721,14 @@ PlayerSettings:
715721
switchSocketBufferEfficiency: 4
716722
switchSocketInitializeEnabled: 1
717723
switchNetworkInterfaceManagerInitializeEnabled: 1
724+
switchDisableHTCSPlayerConnection: 0
718725
switchUseNewStyleFilepaths: 0
719726
switchUseLegacyFmodPriorities: 0
720727
switchUseMicroSleepForYield: 1
721728
switchEnableRamDiskSupport: 0
722729
switchMicroSleepForYieldTime: 25
723730
switchRamDiskSpaceSize: 12
731+
switchUpgradedPlayerSettingsToNMETA: 0
724732
ps4NPAgeRating: 12
725733
ps4NPTitleSecret:
726734
ps4NPTrophyPackPath:
@@ -823,7 +831,12 @@ PlayerSettings:
823831
webGLMemoryLinearGrowthStep: 16
824832
webGLMemoryGeometricGrowthStep: 0.2
825833
webGLMemoryGeometricGrowthCap: 96
834+
webGLEnableWebGPU: 0
826835
webGLPowerPreference: 2
836+
webGLWebAssemblyTable: 0
837+
webGLWebAssemblyBigInt: 0
838+
webGLCloseOnQuit: 0
839+
webWasm2023: 0
827840
scriptingDefineSymbols:
828841
Standalone:
829842
WebGL: WEBTOOLS_LOG_CALLS
@@ -833,6 +846,7 @@ PlayerSettings:
833846
il2cppCompilerConfiguration:
834847
WebGL: 1
835848
il2cppCodeGeneration: {}
849+
il2cppStacktraceInformation: {}
836850
managedStrippingLevel:
837851
EmbeddedLinux: 1
838852
GameCoreScarlett: 1
@@ -859,6 +873,7 @@ PlayerSettings:
859873
gcWBarrierValidation: 0
860874
apiCompatibilityLevelPerPlatform:
861875
WebGL: 6
876+
editorAssembliesCompatibilityLevel: 1
862877
m_RenderingPath: 1
863878
m_MobileRenderingPath: 1
864879
metroPackageName: Template_3D
@@ -883,6 +898,7 @@ PlayerSettings:
883898
metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628,
884899
a: 1}
885900
metroSplashScreenUseBackgroundColor: 0
901+
syncCapabilities: 0
886902
platformCapabilities: {}
887903
metroTargetDeviceFamilies: {}
888904
metroFTAName:
@@ -933,9 +949,11 @@ PlayerSettings:
933949
hmiPlayerDataPath:
934950
hmiForceSRGBBlit: 1
935951
embeddedLinuxEnableGamepadInput: 1
936-
hmiLogStartupTiming: 0
937952
hmiCpuConfiguration:
953+
hmiLogStartupTiming: 0
954+
qnxGraphicConfPath:
938955
apiCompatibilityLevel: 6
956+
captureStartupLogs: {}
939957
activeInputHandler: 0
940958
windowsGamepadBackendHint: 0
941959
cloudProjectId:
@@ -949,3 +967,5 @@ PlayerSettings:
949967
platformRequiresReadableAssets: 0
950968
virtualTexturingSupportEnabled: 0
951969
insecureHttpOption: 0
970+
androidVulkanDenyFilterList: []
971+
androidVulkanAllowFilterList: []

0 commit comments

Comments
 (0)