maktoobgar/scene_manager

Deprecated parameter names in scene_manager.gdshader

Closed this issue · 4 comments

scene_manager: master branch (3.4.1)
Godot: v4.0.rc6.official [0cd148313]
OS: Windows 10

After starting a simple demo app after pressing F5 I get a lot of warnings:

_set: This material (containing shader with path: 'res://addons/scene_manager/scene_manager.gdshader') uses an old deprecated parameter names. Consider re-saving this resource (or scene which contains it) in order for it to continue working in future versions.

Just to mention, I'm working on this but I have no idea what to do or how to solve this...
I don't even know what is causing this problem because you may think res://addons/scene_manager/scene_manager.gdshader is causing it or some variable name in it because the error says it but if you comment out all of shader code, you still get the warning.
Anyway, I'm still working on this as I said but if you or someone else from community fixed it, make a pull request and I would be so thankful.

I've found: godotengine/godot#72575 and your question on Stackoverflow :)
The solution is to open scene_manager.tscn, double click on animation_player and replace in all four animations "shader_param" to "shader_parameter".

Solution is based on two info-s:

I hope this will solve a problem for you as well :)

@MashedD
Thank you so much, that actually fixed the problem but at least consider answering the question with your account in stackoverflow so that I could assign your answer as accepted answer for just the reputation of answering the question.
That's nothing but that's what I can offer at the time plus you can make a pull request for this problem too if you want to get the credibility for it and be considered as a contributor in this little repository.

Thanks again. ❤️

No problem :) I don't have an account on SO, so you can write an answer there or link to this thread. I'll try to prepare a Pull Request later today.