Search Issue Tracker
Fixed
Fixed in 3.3.0
Votes
0
Found in [Package]
3.3.0
Issue ID
PPB-30
Regression
Yes
Getting console error when postprocessing package is installed: ArgumentException: Type provided must be an Enum.
How to reproduce:
- Create new Unity Project
- In Context menu select Window > Package Manager
- In package manager windows click on plus icon
- In dropdown select 'install package from git URL...'
- Enter this link 'https://github.com/Unity-Technologies/Graphics.git?path=com.unity.postprocessing' and press Install
- Wait for install to complete and check console
{code:java}
System.ArgumentException: Type provided must be an Enum.
Parameter name: enumType
at System.RuntimeType.GetEnumValues () [0x00012] in <e1eafe244ab8433bb57e5e98843c8df1>:0
at System.Enum.GetValues (System.Type enumType) [0x00014] in <e1eafe244ab8433bb57e5e98843c8df1>:0
at UnityEditor.Rendering.PostProcessing.DefineSetter..cctor () [0x00000] in /home/bokken/My project (5)/Library/PackageCache/com.unity.postprocessing@b336715bc7/PostProcessing/Editor/Tools/DefineSetter.cs:17
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[]) (at /home/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:123)
{code}
Expected results: No errors in console.
Actual results: Errors are thrown in the Console window
Notes:
- Tested on Win11, Ubuntu 18.
- Not reproducible with version 3.2.2.
- Also tried same package install from disk and got the same error
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator Controller Layer name stays unchanged in Layers tab when renamed from Inspector
- [RenderingDebugger]Motion vectors are displayed when Phong Tessellation is used on the material and Skinned Motion Vectors are enabled on the GameObject's Skinned Mesh Renderer component
- Shader Graph Enum Keywords always select last element in Entries when Stages is set to Fragment and Recursive Rendering is enabled in the Scene
- [Mac] Glitchy visual artifacts appear when moving around a scene with Sphere Handles
- Crash on memcpy_repmovs when selecting NavMesh Agent objects while in Play Mode in a specific scene
Resolution Note:
Fixed in https://github.com/Unity-Technologies/Graphics/pull/7863
Resolution Note (fix version 3.3.0):
Fixed in https://github.com/Unity-Technologies/Graphics/pull/7863