Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2017.3.X, 2018.1.X

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 (6)

  1. SplenShepard

    Mar 06, 2021 00:08

    Can confirm that this is still an issue in 2020.2 and still not fixed

  2. Gnoktade

    Dec 31, 2020 00:32

    still not fixed 2019.2.1

  3. IvoDiDutch

    Sep 17, 2019 11:44

    Still reproduced in 2019.1.0f2 and 2019.3.0b3

  4. 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)

  5. Gulliver

    Feb 07, 2019 23:46

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

  6. 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.