suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 10 forks source link

NullReferenceException: Object reference not set to an instance of an object GraphicSettings.UrpAntiAliasingSetting.Load () #2601

Closed bn9981 closed 2 weeks ago

bn9981 commented 2 weeks ago

Describe the bug NullReferenceException: Object reference not set to an instance of an object GraphicSettings.UrpAntiAliasingSetting.Load () (at Assets/UnityMultiplayerARPG/Core/GraphicSettings/Scripts/UrpAntiAliasingSetting.cs:65) GraphicSettings.GraphicSettingInitializer.Initialize () (at Assets/UnityMultiplayerARPG/Core/GraphicSettings/Scripts/GraphicSettingInitializer.cs:20)

To Reproduce Steps to reproduce the behavior:

  1. Create new URP project
  2. Download and import latest mmorpg kit (version 1.89b) as showing on follow
  3. Open then run demo scene Assets/UnityMultiplayerARPG/Demo/Scenes/00Init.unity
  4. Open setting in game and change anti-alias setting
  5. Run demo scene again
  6. See error

Expected behavior No error showing on the console log.

Screenshots image image

Desktop (please complete the following information):

Additional context

Eniotnacram commented 2 weeks ago

This is 100% unity and not related to the kit at all. You dont have your renderer scriptable setup correctly.

bn9981 commented 2 weeks ago

@Eniotnacram Can you please point me to correct the graphics setup? I only import whole kit into a fresh project and it using the demo setting from the kit. This is my graphics setting

image

Eniotnacram commented 2 weeks ago

Could be related to the kit, go see whats on the line 65. But im using unit 6 at the moment, latest kit version, and I dont have this error.

insthync commented 2 weeks ago

Unity URP having changes again?

insthync commented 2 weeks ago

Screenshot_1066

Did you setup this one?