Dustyroom / flat-kit-doc

Documentation of the Flat Kit asset.
https://flatkit.dustyroom.com
Apache License 2.0
2 stars 1 forks source link

Errors on setup (Unity 2020.3.33f1) #77

Closed eugeneKoff closed 2 years ago

eugeneKoff commented 2 years ago

Describe the bug After installing the Flat Kit and configuring the project I get these errors and warnings:

Assets\FlatKit[Render Pipeline] URP\RenderFeatures\Outline\FlatKitDepthNormals.cs(52,17): error CS0118: 'Camera' is a namespace but is used like a type

[Worker0] Assertion failed on expression: 'state.state == kUpToDate'

[Worker0] Assertion failed on expression: 'state.artifactID == result'

Could not create a custom UI for the shader 'FlatKit/Stylized Surface'. The shader has the following: 'CustomEditor = StylizedSurfaceEditor'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor? UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

PropertiesGUI() is being called recursively. If you want to render the default gui for shader properties then call PropertiesDefaultGUI() instead UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

To Reproduce Steps to reproduce the behavior:

  1. Create a new URP project with Unity 2020.3.33f1
  2. Import Flat Kit
  3. Unpack and configure the project for URP
  4. See error

Unity details: Flat Kit version 2.9.8 Unity 2020.3.33f1 Dev platform: WindowsEditor Target platform: StandaloneWindows64 URP installed: True, version 10.8.1 Render pipeline: UniversalPipeline,LightweightPipeline Color space: Linear Quality config: [FlatKit] Example Settings URP Graphics config: [FlatKit] Example Settings URP

eugeneKoff commented 2 years ago

My bad, the first error (Camera namespace) is due to another plugin. However, the custom UI for shader is still unavailable. Is there anything I can do to fix it back?

eugeneKoff commented 2 years ago

Well, the shader editor got fixed by itself (just restarted Unity) so I guess the issue is closed