Search Issue Tracker

Active

Votes

0

Found in

2019.4

2019.4.3f1

2020.1

2020.2

2021.1

Issue ID

1296506

Regression

No

URP ScriptableObject SerializeField value set to default during the first Import

Asset Import Pipeline

-

How to reproduce:
1. Open the attached project named "URP_SerializeFieldCase.zip"
2. Inspect the UniversalRenderPipelineAsset_Renderer. Observe that the Test field is missing
3. Close the project
4. Copy and Paste the contents from SerializedScripts to the Assets folder. 3 Files should get replaced
5. Launch the project again
6. Re-import the ForwardRenderer.cs located in Assets\com.unity.render-pipelines.universal\Runtime
7. Select the UniversalRenderPipelineAsset_Renderer
8. Observe the Inspector window once more

Expected results: UniversalRenderPipelineAsset_Renderer contains the Test field and its value is set to 42
Actual results: UniversalRenderPipelineAsset_Renderer contains the Test field, however, its value is set to -1

Reproducible with: 2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a9
Could not test with: 2018.4.30f1(Missing script references)

Notes:
1. The Test field is set to 42 after the project is restarted
2. To reproduce the issue again, delete the project files, re-extract URP_SerializeFieldCase.zip and repeat the repro steps
3. Step 6 may not be needed on certain machines

Comments (1)

  1. E7bfba98e53ca2f0c4fa2c468c662bc1?d=mm

    dorcamelda

    Dec 04, 2020 08:53

    Psychology paper writing services are not hard to come across for those in need of legitimate psychology writing services and psychology research writing services.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.