I created a 2D mobile project in Unity. I installed the “Universal RP” package through the Package Manager without loading any packages or assets into the project.
I selected my URP file from Project Settings… Then as soon as I clicked on the Render Pipeline Converter menu, I got the following error:
Trying to read value of type Float while reading a value of type Enum
Trying to read value of type Dimension while reading a value of type Enum
I have attached all the images related to my project below…
Can you please help me figure out what I am missing or doing wrong?..
URP issue:
Trying to read value of type Float while reading a value of type Enum
Trying to read value of type Dimension while reading a value of type Enum
Solution:
To fix this issue, you must replace the following files in the Library folder with the original files:
(Artifacts - ShaderCache - ArtifactDB - ArtifactDB-lock - ShaderCache.db - SourceAssetDB - SourceAssetDB-lock)
Explanation:
This issue occurs because the files in the Library folder have become corrupted. Replacing them with the original files will fix the issue.