Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
193 stars 9 forks source link

Materials not loading properly due to failed loading of shaders. #3689

Open Lexevolution opened 2 years ago

Lexevolution commented 2 years ago

Describe the bug?

At the time of writing, new installs of Neos are failing to get a specific shader downloaded, causing some materials to not work. Specifically, the 3:15:39 PM.134 (144 FPS) GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000803&platform=WindowsDX11 FAILED! Reason: NotFound shader, which seems to be a part of the unlitMaterial, is breaking and causing items such as Ryuvi's Mirror to not work.

Relevant issues

Could not find any open relevant issues.

To Reproduce

Expected behavior

Materials/shaders to load properly and for these materials to properly display the content.

Log Files

LEXDESKTOP - 2022.1.28.1310 - 2022-06-13 15_02_47.log VOLDRAK-PC_-2022.1.28.1335-_2022-06-13_00_01_11.log

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

2022.1.28.1310/2022.1.28.1335

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

No response

Did this work before?

Yes

If it worked before, on which build?

2022.1.28.1310/2022.1.28.1335

Additional context

No response

Reporters

Lexevo#0876 Voldrak#5414

Frozenreflex commented 2 years ago

Not limited to Windows, I'm on Linux and random unlit shaders aren't loading. 20220611031056_1

23:12:22.270 ( 17 FPS)  Starting GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000800&platform=LinuxOpenGL, AttemptsLeft: 5
23:12:22.271 ( 17 FPS)  Starting GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000A01&platform=LinuxOpenGL, AttemptsLeft: 5
23:12:22.292 ( 17 FPS)  GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000800&platform=LinuxOpenGL FAILED! Reason: NotFound
23:12:22.354 ( 17 FPS)  GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000A01&platform=LinuxOpenGL FAILED! Reason: NotFound
23:12:22.429 ( 17 FPS)  Starting GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000800&platform=LinuxOpenGL, AttemptsLeft: 5
23:12:22.449 ( 17 FPS)  GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000800&platform=LinuxOpenGL FAILED! Reason: NotFound
23:12:22.488 ( 17 FPS)  Starting GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000A01&platform=LinuxOpenGL, AttemptsLeft: 5
23:12:22.508 ( 17 FPS)  GatherJob for neosdb:///0f3d1f60624f26199b68f6028e5bc68f9db158f148ee8833e5ae126c2d53e424.neoshader?variant=00000A01&platform=LinuxOpenGL FAILED! Reason: NotFound
river58 commented 2 years ago

This bug seems to be fixable by transferring a cache from an old install of Neos (I.e. I transferred the Neos cache from my laptop, and UnlitMaterials display correctly, such as Ryuvi's Mirror)

The issue with this is that this will most certainly affect new users way more than any other users, as most users have a cache built up already, or may be lucky like I am and have an old cache to use. This means new users will be unable to see certain objects, some items and objects will display completely incorrectly, etc; This will heavily dampen the new user experience depending on what the new user tries to do/use, and what others try to show the new user, and will lead to confusing experiences, broken experiences, and may result in people being unable to do/work on things.

I.e. bringing a friend of mine to Neos would result in them being unable to use/see some objects due to the broken shaders causing them to not display.

Lexevolution commented 2 years ago

Here's an update on this as people started chatting about it in the Quality Control channel in the Neos Volunteer discord image Not sure if that means it's fixed or not, so leaving this open for now

ProbablePrime commented 2 years ago

Thanks Lex, for some added commentary this should resolve it but this keeps cropping up. We have some work to do on our asset processor but Raith's keeping an eye on things as much as he can.