Dustyroom / flat-kit-doc

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

URP version not rendering correctly. #83

Closed Gohloum closed 2 years ago

Gohloum commented 2 years ago

Hello,

I was able to get the built in render version to work just fine. Now experimenting with the URP.

I installed the URP package from Unity first this time and then installed the FlatKit package.

I have no errors, but the rendering is definitely not correct. For most of the example scenes, I am seeing just colored background and I can't see the models rendering correctly. Best way to describe this is to show you screen shots of a few of the FruitVase scenes. You can also see my debug info on the right. I have also included the project settings to show I have the example renderer set as expected. I also tried using clearing he package manager cache and setting the project config to URP based on your [ReadMe] asset.

Screenshot 2022-07-05 19 43 04 Screenshot 2022-07-05 19 43 15 Screenshot 2022-07-05 19 43 32 Screenshot 2022-07-05 19 43 36 Screenshot 2022-07-05 19 43 40 Screenshot 2022-07-05 19 44 15 Screenshot 2022-07-05 19 44 18 Screenshot 2022-07-05 19 44 28

Gohloum commented 2 years ago

Oops, I forgot this one with the debug info: Screenshot 2022-07-05 19 56 16

aesisify commented 2 years ago

Having the same issue. Anything on this one?

dustyroom-studio commented 2 years ago

Please, let us know if the problem persists.

aesisify commented 2 years ago
  • In the 'Flat Kit in URP' chapter, we recommend to import Flat Kit into an initially URP project, not an 'upgraded' from Built-In RP' one, in order to use Flat Kit out of the box. Of course, it is ok to use the latter way but Unity didn't make a flawless and easy way to 'upgrade' from Built-In RP to URP: importing Universal RP may not be enough, depending on the URP asset you use, you may also need to import ShaderGraph, as well as other dependencies. For example, here are the Unity dependencies in one of our URP projects, they are listed in the Package Manager: unity dependencies
  • Secondly, please, make sure you installed Flat Kit as recommended in the set-up guide — here: there are video instructions as well as a written down step-by-step guide. Particularly, please, pay attention to the step 5, where by pressing a button you automatically set all needed settings in Graphics and Quality settings (for all of the quality levels!). In a nutshell, here are the settings needed to be set up in order to display the demo scenes correctly: image image
  • Sometimes, to make a global effect work, like Outline, you'll need to launch the scene (press Play).
  • If nothing works, I'd recommend creating a test URP project, which is URP from the beginning, and importing Flat Kit there, finalizing the set-up according to the guide. If the issue still occurs, please do the following:

    • Clean the Unity Package Manager cache by deleting the 'Dustyroom' folder . The cache folder can be found here: Mac OS: ~/Library/Unity/Asset Store-5.x (press Shift+Cmd+G in any Finder Window and paste this path) Windows: %APPDATA%\Unity\Asset Store-5.x (hidden folder) Linux: ~/.local/share/unity3d/Asset Store-5.x
    • Reload Unity
    • Open Package Manager
    • Locate Flat Kit, download and import it
    • Locate [Readme] file in Assets/Flat Kit, press 'Configure project for URP' button

Please, let us know if the problem persists.

Thanks for the quick reply! The problem was PlasticSCM which probably screwed some settings when creating a new repo.

For those having the same issue, Resetting URP settings using the button in the Readme file, right clicking the FlatKit folder and Reimporting fixed the issue.