Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.3.X, 2018.1.X
Votes
15
Found in
2017.2.0f3
Issue ID
965608
Regression
No
[WebGl][Tilemap] Tilemap.SetTile does not set the tile on WebGl build
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 (26)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UnityObjectToString(Object*) when an object has a field with a type mismatch and an active Animator
- Visual Effect Graph Node creation folder colors are not set to default by default
- The Attach button is active and shows the Attached to Visual Effect" tooltip when the Visual Effect Graph is no longer attached
- The same subgraph window can be opened multiple times after a domain reload
- Collapsing an empty VFX Subgraph Operator with contextual menu removes the arrow
unity_wxrce1I-hrP38g
Feb 03, 2018 04:06
I am still experiencing this problem on the most up to date Unity version with WebGL builds. Anyone else still having problems?
jocyf
Jan 30, 2018 19:11
This issue also appears on 2017.3.0 and 2017.2.1in WebGL builds (In Windows Standalone everything works fine). The tile doesn't just "not appear".
SetTile throws an error: "NullReferenceException: A null (value was found where an object instance was required.) "
Darkscream
Jan 09, 2018 08:19
i would also be interested in a workaround which "Severity: 3" suggest to exist.
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.
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?
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.
azuredown
Dec 23, 2017 04:01
This is also happening on iOS builds for me. Is it the same issue?
wbwelcomeback
Dec 09, 2017 05:25
I can confirm that it reproduces on MacOS (High Sierra).
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.