[Cocos Creator 3.8.6] Getting warning message when running the game in cocos simulator

When running the game in the cocos simulator, I’m getting a warning message in the debugger saying: Failed to set shading scale, pipelineSceneData is invalid.

I’ve checked this for last 5 versions 3.8.2-3.8.6 and the same warning message is there for all these versions.

I’m using cocos creator on windows 10 and 11. The warning message is there even if I run the Empty 2D or Hello World template projects.

Could you provide more details of the warning messages?

  • Create a new project using Empty (2D) template on windows 10 or 11 machine
  • Run the empty scene on cocos simulator and you’ll get the following warning in the debugger

    NOTE: I’ve not changed anything in the project settings it’s a default empty 2D project


I follow the steps you told, but I can’t regenerate the error. Could you please provide your project to me?

Please use “Preview in Simulator” to run the game. There is no warning when running the game with “Preview in Browser” or “Preview in Editor” the warning message only shows up when we run the game using cocos simulator that is “Preview in Simulator” option.


Pls have a check on your pipeline Setting.

Yes, my project settings for graphics is default only i.e. Render Pipeline (New)
The warning message is showing up in debugger when running in cocos simulator.

  • In your project go to File->Preferences->Preview
  • Enable Open simulator with debugger
  • Run the game with Preview in Simulator
  • Check the debugger logs for the warnings

    I’m attaching the project here so you can have a look.
    NewProject.zip (7.4 MB)

@Tom_k I’m getting the same warning in the android studio logcat also, when running the game on an android device. Please let me know if this has any negative effects on my project?

@zhangxm @mr.kylin

Check with your project, and follow the steps you told, It still can not regenerate the Warning.
386-

383-

Yes, the warning message visible in your screenshots in the debugger window “Failed to set shading scale, pipelineSceneData is invalid.” is what I’m talking about. Why I’m getting this warning everytime I run the game in cocos simulator or on an android device.