Page 1 of 1

1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:09 pm
by ncc1701e
Big problem with the game screen with 1.00.08U4, perhaps due to the date localisation change. All icons are now missing on the top main menu.


Image

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:18 pm
by ncc1701e
Yes, this is it. There is a type problem in your code.

Extract from the file C:\Users\User\AppData\LocalLow\Kraken Studios\WarPlan\Player.txt

Initialize engine version: 2019.4.1f1 (e6c045e14e4e)
[Subsystems] Discovering subsystems at path D:/JEUX/Matrix Games/WarPlanBeta/WarPlan_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 980 (ID=0x13c0)
Vendor:
VRAM: 4053 MB
Driver: 26.21.14.4614
Begin MonoManager ReloadAssembly
- Completed reload, in 0.132 seconds
D3D11 device created for Microsoft Media Foundation video decoding.
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 1.207100 ms
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.274000 ms

Unloading 68 unused Assets to reduce memory usage. Loaded Objects now: 1576.
Total: 46.659300 ms (FindLiveObjects: 0.318000 ms CreateObjectMapping: 0.059400 ms MarkObjects: 44.147500 ms DeleteObjects: 2.133600 ms)

FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.ParseExact (System.String s, System.String format, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles style) [0x0002a] in <fb001e01371b4adca20013e0ac763896>:0
at System.DateTime.ParseExact (System.String s, System.String format, System.IFormatProvider provider) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
at GameMenu.OnGUI () [0x0009a] in <c99de53b8519436db4981983f1bb216a>:0

(Filename: <fb001e01371b4adca20013e0ac763896> Line: 0)

FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.ParseExact (System.String s, System.String format, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles style) [0x0002a] in <fb001e01371b4adca20013e0ac763896>:0
at System.DateTime.ParseExact (System.String s, System.String format, System.IFormatProvider provider) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
at GameMenu.OnGUI () [0x0009a] in <c99de53b8519436db4981983f1bb216a>:0

(Filename: <fb001e01371b4adca20013e0ac763896> Line: 0)

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:41 pm
by MorningDew
Can confirm this is the not that case for a US-based English system

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:43 pm
by AlvaroSousa
That's the date appears in French under Unity 2019 issue.

I'll have to change it back for now until I figure this out.

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:54 pm
by ncc1701e
ORIGINAL: Alvaro Sousa

That's the date appears in French under Unity 2019 issue.

I'll have to change it back for now until I figure this out.

If it can help:
https://stackoverflow.com/questions/219 ... dd-mm-yyyy

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 2:59 pm
by AlvaroSousa
I uploaded a new version. Try that one.
This is why we have a beta folks.

RE: 1.00.08U4: Main menu is gone

Posted: Fri Jul 10, 2020 3:39 pm
by ncc1701e
ORIGINAL: Alvaro Sousa

This is why we have a beta folks.

Happy to help [:)]

RE: 1.00.08U4: Main menu is gone

Posted: Sat Jul 11, 2020 6:33 am
by sveint
Is this where I ask to have the date displayed in European format instead of "January 1st, 1940"? Minor issue I know but my brain doesn't like it. I am sure I am not alone.

RE: 1.00.08U4: Main menu is gone

Posted: Sat Jul 11, 2020 6:43 am
by ncc1701e
This is this issue:
https://www.matrixgames.com/forums/tm.asp?m=4849101

The date is now displayed in your local settings language.

RE: 1.00.08U4: Main menu is gone

Posted: Sat Jul 11, 2020 10:17 am
by AlvaroSousa
This is something I am working on.