Unity Issue Tracker - No texture data error is thrown when building and publishing
Closed
ET-16
No texture data error is thrown when building and publishing
Package: WebGL Publisher
2D Platformer
Cannot Reproduce
4.2.X
We could not reproduce this issue. After this issue was created we made some backend changes for Unity Play and currently don't see any related errors or additional issue reports. If it should occur again please let us know.
How to reproduce:
1. Create a new "2D Platformer Microgame" project
2. Publish > WebGL Project > Create and Publish New Build
Expected result: Build is finished with no errors and a new published build tab opens
Actual result: Build finishes but throws an error
Reproducible with: 2020.3.41f1, 2021.3.16f1
Could not test with: 2022.2.2f1, 2023.1.0a25
Reproduced on: M1 Max MacBook Pro (2021)
Full error: No texture data is available to upload. UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)Unity.Play.Publisher.Editor.PublisherBuildProcessor:OpenBuildGameDialog (UnityEditor.BuildTarget) (at Library/PackageCache/com.unity.connect.share@4.2.3/Editor/PublisherBuildProcessor.cs:178)Unity.Play.Publisher.Editor.PublisherWindow:OnWebGLBuildTargetSet () (at Library/PackageCache/com.unity.connect.share@4.2.3/Editor/PublisherWindow.cs:748)Unity.Play.Publisher.Editor.PublisherWindow:OnCreateABuildClicked () (at Library/PackageCache/com.unity.connect.share@4.2.3/Editor/PublisherWindow.cs:509)Unity.Play.Publisher.Editor.PublisherWindow/<>c_DisplayClass75_0:<SetupButton>b_0 () (at Library/PackageCache/com.unity.connect.share@4.2.3/Editor/PublisherWindow.cs:627)UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?