• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Vianney38 · Nov 10, 2020 at 09:03 PM · error message

Texture creation failed. 'R8G8B8A8_SRGB' is not supported for Sample usage on this platform

Hello,


I got an issue when I want to try my application on a phone which is working with Android 6. The same application works perfectly on a phone with Android 9.

Here the error I got :


11-09 22:20:52.729: E/Unity(28332): Texture creation failed. 'R8G8B8A8_SRGB' is not supported for Sample usage on this platform. Use 'SystemInfo.IsFormatSupported' C# API to check format support. 11-09 22:20:52.729: E/Unity(28332): UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Logger:Log(LogType, Object, Object) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Debug:LogError(Object, Object) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Texture:ValidateFormat(GraphicsFormat, FormatUsage) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Graphics/Texture.cs:474) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Texture2D:.ctor(Int32, Int32, GraphicsFormat, TextureCreationFlags, Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Graphics/Texture.cs:492) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Texture2D:.ctor(Int32, Int32, GraphicsFormat, TextureCreationFlags) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Graphics/Texture.cs:502) 11-09 22:20:52.729: E/Unity(28332): UnityEngine.Experimental.Rendering.Universal.Light2DLookupTexture:CreateFalloffLookupTexture() (at D:\Documents Perso\Projets\Unity\FC\FC V0 11-09 22:20:52.844: E/Unity(28332): NullReferenceException 11-09 22:20:52.844: E/Unity(28332): at (wrapper managed-to-native) UnityEngine.Texture.set_filterMode(UnityEngine.Texture,UnityEngine.FilterMode) 11-09 22:20:52.844: E/Unity(28332): at UnityEngine.Experimental.Rendering.Universal.Light2DLookupTexture.CreateFalloffLookupTexture () [0x00019] in D:\Documents Perso\Projets\Unity\FC\FC V0.873\FC V0.873\Library\PackageCache\com.unity.render-pipelines.universal@8.2.0\Runtime\2D\Passes\Utility\Light2DLookupTexture.cs:76 11-09 22:20:52.844: E/Unity(28332): at UnityEngine.Experimental.Rendering.Universal.RendererLighting.GetFalloffLookupTexture () [0x00010] in D:\Documents Perso\Projets\Unity\FC\FC V0.873\FC V0.873\Library\PackageCache\com.unity.render-pipelines.universal@8.2.0\Runtime\2D\Passes\Utility\RendererLighting.cs:406 11-09 22:20:52.844: E/Unity(28332): at UnityEngine.Experimental.Rendering.Universal.RendererLighting.SetShapeLightShaderGlobals (UnityEngine.Rendering.CommandBuffer cmdBuffer) [0x000a4] in D:\Documents Perso\Projets\Unity\FC\FC V0.873\FC V0.873\Library\PackageCache\com.unity.render-pipelines.universal@8.2.0\Runtime\2D\Passes\Utility\RendererLighting.cs:3


I think the error is link to the UnityEngine.Experimental.Rendering.Universal asset. I would like to know first if this asset has to work with an Android minimum version ? If not, there is something to do to solve this error ?


Thank you for your answer.


Vianney.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by sinemdonmeez · May 06 at 10:13 AM

Hello, I had the same problem. To fix this, the URP package needs to be version 11.0.0 or higher. For this, I upgraded the Unity version I used from 2020.3.25f1 to 2021.2.19f1.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

140 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 3.5 errors 0 Answers

Parsing error -.- 2 Answers

[Closed] What is "Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp line: 54" 0 Answers

Can't re-activate my UnityPro License, or even access the program at all. 2 Answers

Error scripting message 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges