Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
139 stars 2 forks source link

PBSLerpMetallic no longer progresses and looks off in my world #2516

Open Dusty-Sprinkles opened 4 months ago

Dusty-Sprinkles commented 4 months ago

Describe the bug?

When working on some projects I noticed that all of my lerp materials no longer update, not sure why but moving the slider or adding a lerp texture has no effect

To Reproduce

Go to resrec:///U-Venport/R-ec7c3d0f-adfb-4384-9076-4022a3d72839 (if you're able to open it idk if it has to be public for devs) and spawn out a PBSLerpMetallic material

then go to any other world and witness that it is normal there

resrec:///U-Venport/R-235dbbf7-fa4c-4d88-962f-5b9e639bbb84 can be used if you want one I've verified is weird and wrong

Expected behavior

lerping

Screenshots

Heres a comparison of what it should look like vs what it looks like image

image

Resonite Version Number

2024.7.4.1347

What Platforms does this occur on?

Windows

What headset if any do you use?

Index

Log Files

DESKTOP-GCR6JOJ - 2024.7.4.1347 - 2024-07-10 18_08_18.log

Additional Context

I did notice at the bottom of the materials it says the shader variant is 0 but I really just want a way to fix this for my world so it stops being broken

Reporters

Venport

Dusty-Sprinkles commented 4 months ago

Okay edited the issue since general chat thinks it should be a bug report

shiftyscales commented 4 months ago

Go to resrec:///U-Venport/R-ec7c3d0f-adfb-4384-9076-4022a3d72839 (if you're able to open it idk if it has to be public for devs) and spawn out a PBSLerpMetallic material

I can not open this world. You need to edit the world's metadata to set it to be openable by anyone.

Dusty-Sprinkles commented 4 months ago

Okay I made a copy of it and made that openable by anyone though let me know when you're done with it cause I'm probably gonna delete that one when you are https://api.resonite.com/open/world/U-Venport/R-88ba2094-65ea-412c-96b4-02d9976efd2b

shiftyscales commented 4 months ago

Do you or other users make use of any mods, @Dusty-Sprinkles? This issue seems similar in nature to #674. We definitely would need replication steps for how the world got into the state its in before we could even really begin to guess about how to resolve it.

However, for now, you can fix the world by opening up the StaticShader inspector from the _shader field and destroying the existing shader with the red trash can icon. The shader will momentarily go checkerboard, but afterward should pull the correct shader and it should function normally again.

I'd suggest leaving the copy up if possible until the issue can be identified and resolved, @Dusty-Sprinkles.

Shader referenced before the fix. resdb:///7519292fadb9f0603584f179fc723ae78cedb2e1f76706d1f768c53e269db437.unityshader image

Shader referenced after the fix. resdb:///985e7a45c1edea976b2bead8e5432f6b2c60a83a3969c24cddd9a1c37f8c1df0.unityshader image

I'd also like to seek input from @Geenz if they have any possible insight to what might have caused this issue, or ways it could be mitigated in future.

Dusty-Sprinkles commented 4 months ago

I do use mods although I'm not sure what part they would play in breaking shaders since they're mostly qol and definitely not shader based mods

I couldn't tell you how to replicate it unfortunately either cause I just noticed they were off one day, and it had been longer than that since I had a lerp metallic there last

shiftyscales commented 4 months ago

I wouldn't know with certainty that it's responsible- it just happens that is a common thread between all instances of this issue I've seen to date that all users that have had that issue happen to be users with modded clients.

Dusty-Sprinkles commented 4 months ago

Well, if it helps somehow I had these mods, as well as more reference proxies (which was recently broken in its own pretty funny way [it replaced slice metallic with slice specular in the new dialog for some reason])

image

though I do see two common mods between me and the issue you quoted; ShowDelegates and InspectorScroll

Other than that though we're running completely different setups. But I'd be surprised if that was the root cause

Rather than making a new post for no reason just tacking on, I've done the fix so I will keep my eyes peeled (I have a large quad of pbs lerp metallic in a spot that I have pictures of how it is supposed to look so if anything happens I'll hopefully spot it quickly enough to get a log maybe, I can't really go without mods for an unknown duration of time but at least I'd be able to get an idea of whats happening if it happens again)

Dusty-Sprinkles commented 2 months ago

Had a similar issue come up with Toon, except deleting the shader didn't change anything. I don't know replication steps still but heres the log DESKTOP-GCR6JOJ - 2024.8.5.1341 - 2024-08-28 01_20_27.log

Pretty confident this is unrelated but idk how to do strikethrough so I'll just leave this here, working on an issue but if someone wants to beat me to the punch with testing its related to transparent toon materials with lit outlines at least