You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 2.1.4-stable
Issue description:
When exporting a project using godot 2.1.4-stable compiled with "platform=server" (or using the server version from the website) and in self contained mode, shader parameters set in the inspector is reset to the original values in the shader script.
Steps to reproduce:
Download the project included, it already includes a godot server version and export templates for linux.
Verify the project and check the wanted end result. Run the game and note the size of the shader, and note the values printed to the console, they are the same as the shader parameters set in the inspector.
Now export the project using the godot server version in the godot folder in the project.
Run following from inside the godot folder: ./godot_2.1.4_server -export "Linux X11" /home/*your_user*/Documents/test
Last part is the desired location of the export, edit it to match your desired location.
Run the game that you just exported and notice how the shader is considerable smaller now, and even check the output in the terminal to see that the values are not what is set in the inspector.
More info:
I have tested this in self contained mode with the server version and the normal editor version.
I have tested this with the server version and editor version NOT in self contained mode.
I have tested this by exporting from the exporter in the editor.
I have tested this by downloading the server version from the website, and compiled my own server version at the tag '2.1.4-stable'.
It only happens with the server version in self contained mode.
Images:
A look at the shader if the game is run from within the editor:
A look at the shader if the game is run from the exported binary:
Notice the size difference of the white ring.
These are the original parameters:
These are the parameters set in the inspector. These are the values we want to see in the output of the exported game!
If you don't want to run the binaries i included for trust issues or whatever 👌
Just replace the 'godot_2.1.4_server' with the official Linux Server 64 bit from here https://godotengine.org/download
And replace the templates with the ones found in the Export Templates from the same link
The text was updated successfully, but these errors were encountered:
Tagging as 2.1 as it needs to be fixed there where the server binary is available (it's not currently in 3.0), but once the cause of the bug is found, it should be made sure that it's fixed in master too.
Can anyone still reproduce this bug in Godot 3.2.1 or any later release (e.g. 3.2.2-beta4)?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 2.1.4-stable
Issue description:
When exporting a project using godot 2.1.4-stable compiled with "platform=server" (or using the server version from the website) and in self contained mode, shader parameters set in the inspector is reset to the original values in the shader script.
Steps to reproduce:
Download the project included, it already includes a godot server version and export templates for linux.
Verify the project and check the wanted end result. Run the game and note the size of the shader, and note the values printed to the console, they are the same as the shader parameters set in the inspector.
Now export the project using the godot server version in the godot folder in the project.
Run following from inside the godot folder:
./godot_2.1.4_server -export "Linux X11" /home/*your_user*/Documents/test
Last part is the desired location of the export, edit it to match your desired location.
Run the game that you just exported and notice how the shader is considerable smaller now, and even check the output in the terminal to see that the values are not what is set in the inspector.
More info:
I have tested this in self contained mode with the server version and the normal editor version.
I have tested this with the server version and editor version NOT in self contained mode.
I have tested this by exporting from the exporter in the editor.
I have tested this by downloading the server version from the website, and compiled my own server version at the tag '2.1.4-stable'.
It only happens with the server version in self contained mode.
Images:
A look at the shader if the game is run from within the editor:
A look at the shader if the game is run from the exported binary:
Notice the size difference of the white ring.
These are the original parameters:
These are the parameters set in the inspector. These are the values we want to see in the output of the exported game!
Link to minimal example project:
https://github.com/Keetz/GodotShaderBugProject
or direct download:
https://github.com/Keetz/GodotShaderBugProject/archive/master.zip
If you don't want to run the binaries i included for trust issues or whatever 👌
Just replace the 'godot_2.1.4_server' with the official Linux Server 64 bit from here https://godotengine.org/download
And replace the templates with the ones found in the Export Templates from the same link
The text was updated successfully, but these errors were encountered: