Search Issue Tracker

Fixed in 2018.2

Fixed in 2017.3, 2018.1

Votes

2

Found in

2018.1.0b9

Issue ID

1007974

Regression

Yes

DateTime.Now raises an exception in WebGL player

WebGL

-

To reproduce:
1) Create new project (or use attached project - skip to step 5)
2) Create a new C# script
3) Add an Awake function and this to it: DateTime t = DateTime.Now;
4) Add the script to any object in scene
5) Build and run on WebGL

Expected: It runs normally
Actual: This is thrown - https://i.imgur.com/IMnSsji.png

Reproduced in 2018.1.0b1, 2018.1.0b9
Not reproduced in 2017.3.1p3, 2017.1.0f3

Not reproduced in Windows builds (both IL2CPP and Mono)

Comments (4)

  1. 315090de842d0d4587658e95955fdf45?d=mm

    IvoDiDutch

    Sep 17, 2019 11:44

    Still reproduced in 2019.1.0f2 and 2019.3.0b3

  2. 18d868aca13e5b4332eca325152384e8?d=mm

    YVanhoutte

    Jun 27, 2019 12:26

    Just tested with a build in Unity 2018.3.8f1 and still throws exceptions on load in Chrome (version 75.0.3770.100, official build 64-bit)

  3. 5c75fc6f172db2c903afb5c7d501d0d8?d=mm

    Gulliver

    Feb 07, 2019 23:46

    **** STILL NOT FIXED IN 2018.3.4 ****

  4. 0037283cb38ab549aa242e94d4473878?d=mm

    andrzej_cadp

    Mar 19, 2018 09:13

    2018.1.0b11 still not fixed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.