Skip to content

Commit 99ab5fb

Browse files
*Fix HDRP warning
Hoping it will prevent this issue : ``` Unhandled log message: '[Exception] UnityException: DestroyImmediate is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'HDWizard'. See "Script Serialization" page in the Unity Manual for further details.'. Use UnityEngine.TestTools.LogAssert.Expect ``` See https://yamato-artifactviewer.prd.cds.internal.unity3d.com/9f8a60fd-d1f9-48b5-9513-e4e535cf5d7c%2Flogs%2FTestProjects%2FVisualEffectGraph_HDRP%2Ftest-results/TestReportV1.html
1 parent 4d22c94 commit 99ab5fb

File tree

4 files changed

+69
-23
lines changed

4 files changed

+69
-23
lines changed

TestProjects/VisualEffectGraph_HDRP/Assets/HDRP/HDRenderPipelineAsset.asset

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ MonoBehaviour:
4444
decalNormalBufferHP: 0
4545
msaaSampleCount: 1
4646
supportMotionVectors: 1
47-
supportRuntimeDebugDisplay: 1
4847
supportRuntimeAOVAPI: 0
4948
supportDitheringCrossFade: 1
5049
supportTerrainHole: 0
@@ -131,6 +130,7 @@ MonoBehaviour:
131130
upsampleFilter: 1
132131
forceResolution: 0
133132
forcedPercentage: 100
133+
lowResTransparencyMinimumThreshold: 0
134134
lowresTransparentSettings:
135135
enabled: 1
136136
checkerboardDepthBuffer: 1
@@ -258,8 +258,9 @@ MonoBehaviour:
258258
m_ObsoleteDecalLayerName5:
259259
m_ObsoleteDecalLayerName6:
260260
m_ObsoleteDecalLayerName7:
261+
m_ObsoleteSupportRuntimeDebugDisplay: 1
261262
allowShaderVariantStripping: 1
262-
enableSRPBatcher: 0
263+
enableSRPBatcher: 1
263264
availableMaterialQualityLevels: -1
264265
m_DefaultMaterialQualityLevel: 4
265266
diffusionProfileSettings: {fileID: 11400000, guid: cbe1ee9036c47b84ba1b8b3dbcde2aff,

TestProjects/VisualEffectGraph_HDRP/Assets/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ MonoBehaviour:
8888
diffusionProfileSettingsList:
8989
- {fileID: 11400000, guid: cbe1ee9036c47b84ba1b8b3dbcde2aff, type: 2}
9090
- {fileID: 11400000, guid: 38c0905fbe269274782e939ce4393d85, type: 2}
91+
rendererListCulling: 0
9192
DLSSProjectId: 000000
9293
useDLSSCustomProjectId: 0
93-
m_Version: 2
94+
supportProbeVolumes: 0
95+
supportRuntimeDebugDisplay: 1
96+
apvScenesBounds:
97+
serializedBounds: []
98+
serializedHasVolumes: []
99+
m_Version: 3

TestProjects/VisualEffectGraph_HDRP/Assets/scene.unity.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestProjects/VisualEffectGraph_HDRP/ProjectSettings/ProjectSettings.asset

Lines changed: 52 additions & 20 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: 21
6+
serializedVersion: 23
77
productGUID: 213451596e328ea49a600474fe756f52
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
@@ -68,6 +68,12 @@ PlayerSettings:
6868
androidRenderOutsideSafeArea: 0
6969
androidUseSwappy: 0
7070
androidBlitType: 1
71+
androidResizableWindow: 0
72+
androidDefaultWindowWidth: 1920
73+
androidDefaultWindowHeight: 1080
74+
androidMinimumWindowWidth: 400
75+
androidMinimumWindowHeight: 300
76+
androidFullscreenMode: 1
7177
defaultIsNativeResolution: 1
7278
macRetinaSupport: 1
7379
runInBackground: 1
@@ -121,6 +127,7 @@ PlayerSettings:
121127
vulkanEnableSetSRGBWrite: 0
122128
vulkanEnablePreTransform: 0
123129
vulkanEnableLateAcquireNextImage: 0
130+
vulkanEnableCommandBufferRecycling: 1
124131
m_SupportedAspectRatios:
125132
4:3: 1
126133
5:4: 1
@@ -155,9 +162,9 @@ PlayerSettings:
155162
Standalone: 0
156163
iPhone: 0
157164
tvOS: 0
158-
overrideDefaultApplicationIdentifier: 0
165+
overrideDefaultApplicationIdentifier: 1
159166
AndroidBundleVersionCode: 1
160-
AndroidMinSdkVersion: 19
167+
AndroidMinSdkVersion: 22
161168
AndroidTargetSdkVersion: 0
162169
AndroidPreferredInstallLocation: 1
163170
aotOptions:
@@ -213,11 +220,13 @@ PlayerSettings:
213220
iOSLaunchScreeniPadCustomStoryboardPath:
214221
iOSDeviceRequirements: []
215222
iOSURLSchemes: []
223+
macOSURLSchemes: []
216224
iOSBackgroundModes: 0
217225
iOSMetalForceHardShadows: 0
218226
metalEditorSupport: 1
219227
metalAPIValidation: 1
220228
iOSRenderExtraFrameOnPause: 1
229+
iosCopyPluginsCodeInsteadOfSymlink: 0
221230
appleDeveloperTeamID:
222231
iOSManualSigningProvisioningProfileID:
223232
tvOSManualSigningProvisioningProfileID:
@@ -227,6 +236,7 @@ PlayerSettings:
227236
iOSRequireARKit: 0
228237
iOSAutomaticallyDetectAndAddCapabilities: 1
229238
appleEnableProMotion: 0
239+
shaderPrecisionModel: 0
230240
clonedFromGUID: 00000000000000000000000000000000
231241
templatePackageId:
232242
templateDefaultScene:
@@ -238,6 +248,7 @@ PlayerSettings:
238248
useCustomGradlePropertiesTemplate: 0
239249
useCustomProguardFile: 0
240250
AndroidTargetArchitectures: 5
251+
AndroidTargetDevices: 0
241252
AndroidSplashScreenScale: 0
242253
androidSplashScreen: {fileID: 0}
243254
AndroidKeystoreName: '{inproject}: '
@@ -254,6 +265,7 @@ PlayerSettings:
254265
height: 180
255266
banner: {fileID: 0}
256267
androidGamepadSupportLevel: 0
268+
chromeosInputEmulation: 1
257269
AndroidMinifyWithR8: 0
258270
AndroidMinifyRelease: 0
259271
AndroidMinifyDebug: 0
@@ -307,6 +319,9 @@ PlayerSettings:
307319
- m_BuildTarget: WindowsStandaloneSupport
308320
m_APIs: 020000001500000012000000
309321
m_Automatic: 0
322+
- m_BuildTarget: AndroidPlayer
323+
m_APIs: 0b00000008000000
324+
m_Automatic: 0
310325
m_BuildTargetVRSettings: []
311326
openGLRequireES31: 0
312327
openGLRequireES31AEP: 0
@@ -317,13 +332,20 @@ PlayerSettings:
317332
tvOS: 1
318333
m_BuildTargetGroupLightmapEncodingQuality:
319334
- m_BuildTarget: Standalone
320-
m_EncodingQuality: 1
335+
m_EncodingQuality: 2
321336
- m_BuildTarget: XboxOne
322337
m_EncodingQuality: 1
323338
- m_BuildTarget: PS4
324339
m_EncodingQuality: 1
340+
- m_BuildTarget: Android
341+
m_EncodingQuality: 2
342+
- m_BuildTarget: Lumin
343+
m_EncodingQuality: 2
344+
- m_BuildTarget: Windows Store Apps
345+
m_EncodingQuality: 2
325346
m_BuildTargetGroupLightmapSettings: []
326347
m_BuildTargetNormalMapEncoding: []
348+
m_BuildTargetDefaultTextureCompressionFormat: []
327349
playModeTestRunnerEnabled: 0
328350
runPlayModeTestAsEditModeTest: 0
329351
actionOnDotNetUnhandledException: 1
@@ -333,6 +355,7 @@ PlayerSettings:
333355
cameraUsageDescription:
334356
locationUsageDescription:
335357
microphoneUsageDescription:
358+
bluetoothUsageDescription:
336359
switchNMETAOverride:
337360
switchNetLibKey:
338361
switchSocketMemoryPoolSize: 6144
@@ -341,6 +364,7 @@ PlayerSettings:
341364
switchScreenResolutionBehavior: 2
342365
switchUseCPUProfiler: 0
343366
switchUseGOLDLinker: 0
367+
switchLTOSetting: 0
344368
switchApplicationID: 0x0005000C10000001
345369
switchNSODependencies:
346370
switchTitleNames_0:
@@ -358,6 +382,7 @@ PlayerSettings:
358382
switchTitleNames_12:
359383
switchTitleNames_13:
360384
switchTitleNames_14:
385+
switchTitleNames_15:
361386
switchPublisherNames_0:
362387
switchPublisherNames_1:
363388
switchPublisherNames_2:
@@ -373,6 +398,7 @@ PlayerSettings:
373398
switchPublisherNames_12:
374399
switchPublisherNames_13:
375400
switchPublisherNames_14:
401+
switchPublisherNames_15:
376402
switchIcons_0: {fileID: 0}
377403
switchIcons_1: {fileID: 0}
378404
switchIcons_2: {fileID: 0}
@@ -388,6 +414,7 @@ PlayerSettings:
388414
switchIcons_12: {fileID: 0}
389415
switchIcons_13: {fileID: 0}
390416
switchIcons_14: {fileID: 0}
417+
switchIcons_15: {fileID: 0}
391418
switchSmallIcons_0: {fileID: 0}
392419
switchSmallIcons_1: {fileID: 0}
393420
switchSmallIcons_2: {fileID: 0}
@@ -403,6 +430,7 @@ PlayerSettings:
403430
switchSmallIcons_12: {fileID: 0}
404431
switchSmallIcons_13: {fileID: 0}
405432
switchSmallIcons_14: {fileID: 0}
433+
switchSmallIcons_15: {fileID: 0}
406434
switchManualHTML:
407435
switchAccessibleURLs:
408436
switchLegalInformation:
@@ -466,6 +494,8 @@ PlayerSettings:
466494
switchNetworkInterfaceManagerInitializeEnabled: 1
467495
switchPlayerConnectionEnabled: 1
468496
switchUseNewStyleFilepaths: 0
497+
switchUseMicroSleepForYield: 1
498+
switchMicroSleepForYieldTime: 25
469499
ps4NPAgeRating: 12
470500
ps4NPTitleSecret:
471501
ps4NPTrophyPackPath:
@@ -573,32 +603,32 @@ PlayerSettings:
573603
webGLThreadsSupport: 0
574604
webGLDecompressionFallback: 0
575605
scriptingDefineSymbols:
576-
1: UNITY_POST_PROCESSING_STACK_V2
577-
4: UNITY_POST_PROCESSING_STACK_V2
578-
7: UNITY_POST_PROCESSING_STACK_V2
579-
13: UNITY_POST_PROCESSING_STACK_V2
580-
14: UNITY_POST_PROCESSING_STACK_V2
581-
18: UNITY_POST_PROCESSING_STACK_V2
582-
19: UNITY_POST_PROCESSING_STACK_V2
583-
21: UNITY_POST_PROCESSING_STACK_V2
584-
23: UNITY_POST_PROCESSING_STACK_V2
585-
25: UNITY_POST_PROCESSING_STACK_V2
586-
26: UNITY_POST_PROCESSING_STACK_V2
587-
27: UNITY_POST_PROCESSING_STACK_V2
588-
28: UNITY_POST_PROCESSING_STACK_V2
606+
: UNITY_POST_PROCESSING_STACK_V2
607+
Android: UNITY_POST_PROCESSING_STACK_V2
608+
Lumin: UNITY_POST_PROCESSING_STACK_V2
609+
Nintendo Switch: UNITY_POST_PROCESSING_STACK_V2
610+
PS4: UNITY_POST_PROCESSING_STACK_V2
611+
Standalone: UNITY_POST_PROCESSING_STACK_V2
612+
WebGL: UNITY_POST_PROCESSING_STACK_V2
613+
Windows Store Apps: UNITY_POST_PROCESSING_STACK_V2
614+
XboxOne: UNITY_POST_PROCESSING_STACK_V2
615+
iPhone: UNITY_POST_PROCESSING_STACK_V2
616+
tvOS: UNITY_POST_PROCESSING_STACK_V2
617+
additionalCompilerArguments: {}
589618
platformArchitecture: {}
590619
scriptingBackend:
591620
Standalone: 0
592621
il2cppCompilerConfiguration: {}
593622
managedStrippingLevel: {}
594623
incrementalIl2cppBuild: {}
624+
suppressCommonWarnings: 1
595625
allowUnsafeCode: 0
596626
useDeterministicCompilation: 1
597-
useReferenceAssemblies: 1
598627
enableRoslynAnalyzers: 1
599628
additionalIl2CppArgs:
600629
scriptingRuntimeVersion: 1
601630
gcIncremental: 0
631+
assemblyVersionValidation: 1
602632
gcWBarrierValidation: 0
603633
apiCompatibilityLevelPerPlatform:
604634
Standalone: 6
@@ -649,6 +679,7 @@ PlayerSettings:
649679
XboxOneCapability: []
650680
XboxOneGameRating: {}
651681
XboxOneIsContentPackage: 0
682+
XboxOneEnhancedXboxCompatibilityMode: 0
652683
XboxOneEnableGPUVariability: 0
653684
XboxOneSockets: {}
654685
XboxOneSplashScreen: {fileID: 0}
@@ -678,7 +709,8 @@ PlayerSettings:
678709
projectName:
679710
organizationId:
680711
cloudEnabled: 0
681-
enableNativePlatformBackendsForNewInputSystem: 0
682-
disableOldInputManagerSupport: 0
683712
legacyClampBlendShapeWeights: 1
713+
playerDataPath:
714+
forceSRGBBlit: 1
684715
virtualTexturingSupportEnabled: 0
716+
uploadClearedTextureDataAfterCreationFromScript: 0

0 commit comments

Comments
 (0)