Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed issue with gbuffer debug view when virtual texturing is enabled.
- Fixed volumetric fog noise due to sun light leaking (case 1319005)
- Fixed an issue with Decal normal blending producing NaNs.
- Fixed issue in wizard when resource folder don't exist

### Changed
- Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ void FixHdrpAssetDiffusionProfile(bool fromAsyncUnused)
var defaultAssetList = hdrpAsset.renderPipelineEditorResources.defaultDiffusionProfileSettingsList;
hdrpAsset.diffusionProfileSettingsList = new DiffusionProfileSettings[0]; // clear the diffusion profile list

if (!AssetDatabase.IsValidFolder("Assets/" + HDProjectSettings.projectSettingsFolderPath))
AssetDatabase.CreateFolder("Assets", HDProjectSettings.projectSettingsFolderPath);

foreach (var diffusionProfileAsset in defaultAssetList)
{
string defaultDiffusionProfileSettingsPath = "Assets/" + HDProjectSettings.projectSettingsFolderPath + "/" + diffusionProfileAsset.name + ".asset";
Expand Down Expand Up @@ -500,6 +503,9 @@ void FixDefaultVolumeProfileAssigned(bool fromAsyncUnused)
VolumeProfile defaultSettingsVolumeProfileInPackage = hdrpAsset.renderPipelineEditorResources.defaultSettingsVolumeProfile;
string defaultSettingsVolumeProfilePath = "Assets/" + HDProjectSettings.projectSettingsFolderPath + '/' + defaultSettingsVolumeProfileInPackage.name + ".asset";

if (!AssetDatabase.IsValidFolder("Assets/" + HDProjectSettings.projectSettingsFolderPath))
AssetDatabase.CreateFolder("Assets", HDProjectSettings.projectSettingsFolderPath);

//try load one if one already exist
VolumeProfile defaultSettingsVolumeProfile = AssetDatabase.LoadAssetAtPath<VolumeProfile>(defaultSettingsVolumeProfilePath);
if (defaultSettingsVolumeProfile == null || defaultSettingsVolumeProfile.Equals(null))
Expand Down