Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.2.X
Votes
0
Found in
2019.4
2019.4.13f1
2020.1
2020.2
2021.1
Issue ID
1291999
Regression
No
An exception is thrown when creating a Texture2DArray and building the project with -nographics Argument
How to reproduce:
1. Download and extract the attached project named "941670-FontAtlasBuildPipeline.zip"
2. Try building the project via Terminal using the following command:
-Unity.exe -batchmode -nographics -projectPath"Insert your project path here" -buildWindowsPlayer"Insert your project path here + \Build\Build.exe" -executeMethod Tex2D.CreateArray
3. Observe the Terminal Window
Expected result: Build succeeds
Actual result: Build fails due to the compilation error
Reproducible with: 2019.4.15f1, 2020.1.14f1, 2020.2.0b11, 2021.1.0a6
Could not test with: 2018.4.29f1(Build would hang indefinitely)
Notes:
1. The error thrown when building with 2019.4.15f1 Editor:
Aborting batchmode due to failure:
Scripts have compiler errors.
2. The error thrown when building with 2020.1.14f1 Editor and above:
Aborting batchmode due to failure:
executeMethod method Tex2D.CreateArray threw exception.
-
meldanakuru
Nov 12, 2020 12:59
It is important for American history paper writing service seekers to find the best American History Writing Services from a reputable American history essay writing service provider for their custom American History Research Writing Services.
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
- Search does not evaluate objects when they are in the "DontDestroyOnLoad" Scene
- "InvalidCastException: Specified cast is not valid." is thrown when creating Animation through script
- Error "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" is thrown when building with a "Build App Bundle (Google Play)" and "Split Application Binary" enabled at the same time
- Mono Behavior of serializable reference type gets created when selecting a corresponding object in the Hierarchy window if it’s null and the Inspector window is set to Debug mode
- SSAO from depth (recreating normals) doesn't work on android
Resolution Note (fix version 2021.1):
Fixed in - 2021.1.0a10
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.2f1
Resolution Note (fix version 2019.4):
Fixed in - 2019.4.18f1
Resolution Note (fix version 2018.4):
Fixed in - 2018.4.31f1