Search Issue Tracker

Fixed in future release

Votes

15

Found in

2017.2.0f3

Issue ID

965608

Regression

No

[WebGl][Tilemap] Tilemap.SetTile does not set the tile on WebGl build

WebGL

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 3Workaround is possible

Steps to reproduce:
1. Open user attached project
2. Play the scene notice that the tile generated by code appears
3. Make a WebGL build and run it
4. Notice that the tile generated by code does not appear

Expected result: setting tiles through code should work on WebGL builds

Reproduced in: 2018.1.0a3, 2017.3.0b8, 2017.2.0p1, 2017.2.0b1

Does not reproduce on Windows & OSX
Tested in: Chrome 61.0, Firefox 56.0

Comments (7)

  1. 18986f43e7bb5ae261b08c2d762ca72b?d=mm

    Darkscream

    Jan 09, 2018 08:19

    i would also be interested in a workaround which "Severity: 3" suggest to exist.

  2. 40e78e0c414907f900af9a1da59dfd5a?d=mm

    Remiel

    Jan 05, 2018 13:29

    I can confirm this issue also appears on 2017.3.f3. The tile doesn't just "not appear". SetTIle throws an error. NullReferenceException: A null (value was found where an object instance was required.)
    My stack trace shows that it breaks within SetTile -> InvokeRefreshTile -> UpdateTileAsset

    It is a critical error for me because now I have to replace the entire tilesystem while the deadline for my game is just around the corner. If you mentioned this problem in the Release notes I wouldn't have wasted so much time and went with some other tile system implementation.

  3. Cd44c08a04271259ebd7e6f2963514b6?d=mm

    idlemath

    Jan 02, 2018 20:15

    Yes, we are having the same issue on iOS. The tile is visible in the Unity Editor but it does NOT show up on the phone. We are running Unity 2017.3.0f3. I wonder if we should submit a new issue for iOS specifically since this issue is tagged for WebGL?

  4. 344938084e3fc79db83e800efff18c8a?d=mm

    Jay-Pavlina

    Jan 01, 2018 22:03

    Does anyone know a workaround for this? Severity 3 supposedly means a workaround is possible but I can't find one.

  5. 03b5422b519c51eb98f03f25678712d8?d=mm

    azuredown

    Dec 23, 2017 04:01

    This is also happening on iOS builds for me. Is it the same issue?

  6. 6e3a85d3ac81e69a88388912e166de7d?d=mm

    wbwelcomeback

    Dec 09, 2017 05:25

    I can confirm that it reproduces on MacOS (High Sierra).

  7. 344938084e3fc79db83e800efff18c8a?d=mm

    Jay-Pavlina

    Nov 26, 2017 05:45

    The same thing is happening to me. It's a critical bug because it makes the tilemap unusable in WebGL.

All about bugs

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