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
I noticed that when you export to Windows and put anything in version fields (File Version and Product Version, under Application category), you will very likely get these warnings:
File Version expects a number in format 0.0.0.0 (i.e. 4 numbers separated by period). The warning does not tell you that. It just says the version is wrong and you are supposed to figure out the correct format. Luckily there is a description for this property, which points to documentation page, except the Godot's version validator does not even respect it xd
According to that page, ProductVersion can take non-numeric characters (there is 5.00.RC2 as an example). I'm not sure if even the period format is enforced in any way by the OS, but seems like Godot converts all bits into int, removing all non-numerics. Also you can e.g. put 1.2 into version, which will be automatically converted to 1.2.0.0. You can export the exe and the version shows in details correctly. Despite that, the warning will still say the version is wrong.
Product Version is more interesting. You can put any string into it (even though the specification is the same as for FileVersion) and it does get written correctly and displays in exe details. However the editor still expects 0.0.0.0 format strings and will show the warning if you don't follow it.
Steps to reproduce
Create Windows export preset
Put anything in File Version or Product Version
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
4.5 dev1
System information
W10
Issue description
I noticed that when you export to Windows and put anything in version fields (File Version and Product Version, under Application category), you will very likely get these warnings:
File Version expects a number in format
0.0.0.0
(i.e. 4 numbers separated by period). The warning does not tell you that. It just says the version is wrong and you are supposed to figure out the correct format. Luckily there is a description for this property, which points to documentation page, except the Godot's version validator does not even respect it xdAccording to that page, ProductVersion can take non-numeric characters (there is
5.00.RC2
as an example). I'm not sure if even the period format is enforced in any way by the OS, but seems like Godot converts all bits into int, removing all non-numerics. Also you can e.g. put1.2
into version, which will be automatically converted to1.2.0.0
. You can export the exe and the version shows in details correctly. Despite that, the warning will still say the version is wrong.Product Version is more interesting. You can put any string into it (even though the specification is the same as for FileVersion) and it does get written correctly and displays in exe details. However the editor still expects
0.0.0.0
format strings and will show the warning if you don't follow it.Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: