【错误记录】Unity 安卓打包报错( Platform Android with graphics API OpenGLES3 is not supported with HDRP )

这篇具有很好参考价值的文章主要介绍了【错误记录】Unity 安卓打包报错( Platform Android with graphics API OpenGLES3 is not supported with HDRP )。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。





一、 报错信息



在 Unity 编辑器中 , 选择 " 菜单栏 | File | Build Settings " 选项 , 编译 Android Apk 文件 ;

buildfailedexception: platform webgl with graphics api opengles3 is not supp,Unity3D,错误记录,unity,android,游戏引擎,Unity3D

报如下错误 :

BuildFailedException: Platform Android with graphics API OpenGLES3 is not supported with HDRP, use the Vulkan graphics API instead.
Change the platform/device to a compatible one or remove incompatible graphics APIs.

UnityEditor.Rendering.HighDefinition.HDRPPreprocessBuild.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.10.0/Editor/BuildProcessors/HDRPPreprocessBuild.cs:78)
UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass15_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at <dbd4d07218194e5c9818b750c6847ce1>:0)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at <dbd4d07218194e5c9818b750c6847ce1>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

buildfailedexception: platform webgl with graphics api opengles3 is not supp,Unity3D,错误记录,unity,android,游戏引擎,Unity3D





二、 解决方案



报错信息 Platform Android with graphics API OpenGLES3 is not supported with HDRP, use the Vulkan graphics API instead. , HDRP不支持带有图形API OpenGLES3的平台Android,请使用Vulkan图形API代替 ;

HDRP 是 高清渲染管线 , 英文全称为 High Definition Render Pipeline ;

HDRP 的 Unity 工程 如果导出 Android 平台的应用 , 不能选择 OpenGLES3 作为导出的安卓平台引擎 , 必须选择 Vulkan 引擎 API ;


在 Unity 编辑器 中 , 选择 " 菜单栏 | File | Build Settings | Player Settings… " , 早 Player Settings 对话框中 , 选择 Android 面板 , 选择 Other Settings 选项 , 修改其中的 " Graphics APIs " 设置 , 删除 OpenGLES2 和 OpenGLES3 选项 , 只保留 Vulkan 选项 ;

buildfailedexception: platform webgl with graphics api opengles3 is not supp,Unity3D,错误记录,unity,android,游戏引擎,Unity3D

删除后的效果 : 只保留一个 Vulkan 图形引擎 ;

buildfailedexception: platform webgl with graphics api opengles3 is not supp,Unity3D,错误记录,unity,android,游戏引擎,Unity3D文章来源地址https://www.toymoban.com/news/detail-531948.html

到了这里,关于【错误记录】Unity 安卓打包报错( Platform Android with graphics API OpenGLES3 is not supported with HDRP )的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【unity2021-2023打包安卓工程】踩坑记录

    踩了快一个星期的坑,希望能帮助到有需要的人 项目使用的是unity2019版本,由于很多新的插件和功能都已经不支持2019了,所以升级unity的版本 在升级版本的过程中遇到了很多的问题,因为本身基础较差,加之比较新,网上能找到的解决办法少之又少,当然也存在不希望外露

    2024年02月07日
    浏览(41)
  • 【Unity3D】Android 打包 ④ ( Android 工程打包 | Unity 中导出安卓工程 | Android Studio 打开 Unity 导出的 Android 工程 )

    Android 工程打包 就是将 Unity 项目导出为 Android Studio 项目 , 在 Unity 编辑器中选择 \\\" 菜单栏 | File | Build Settings… \\\" 选项 , 在弹出的 \\\" Build Settings \\\" 对话框中 , 勾选上 \\\" Export Project \\\" 选框 , 然后点击右下角的 \\\" Export \\\" 导出按钮 ; 选择一个导出目录 ; 等待 Android 工程导出 ; 最终导出的

    2023年04月19日
    浏览(36)
  • 【unity与android的交互】移动游戏发布更安心!Unity安卓平台打包相关的常见参数全详解

    👨‍💻个人主页 :@元宇宙-秩沅 👨‍💻 hallo 欢迎 点赞👍 收藏⭐ 留言📝 加关注✅! 👨‍💻 本文由 秩沅 原创 👨‍💻 收录于专栏 :Unity基础实战 首先需要切换到安卓平台 step1 :打包前的基础参数的设置 step2:包名的设置需要勾选,必须要去设置的内容 打包后进行测

    2024年04月17日
    浏览(63)
  • Unity发布Android平台错误记录

    注释掉android.enableR8= MINIFY_WITH_R_EIGHT 打包就可以了 NDK小版本问题不对 如果是大版本问题直接下载对应版本的NDK,如果是小版本就行下图遮掩解决,找到ndk目录,直接修改小版本和报错需要请求的版本可能能解。 (1)在E:Androidandroid-sdk-windowsbuild-tools32.0.0拷贝d8.bat文件,修改

    2024年02月11日
    浏览(36)
  • Unity 报错之 打包安卓闪退 Could not allocate memory: System out of memory

    更换机器打包,打包机器上没有开发使用的Unity版本,所以更换了Unity2019.4.8f1版本进行导出安卓工程,在安卓工程中打包出现闪退问题。 Unity: Could not allocate memory: System out of memory! Trying to allocate: 4227858432B with 16 alignment. MemoryLabel: DynamicArray Allocation happened at: Line:78 in Memory overv

    2024年02月13日
    浏览(45)
  • 解决Unity打包时,Android SDK 报错问题

    报错内容应该包括类似如下信息: 不一定完全一致(比如版本号不同),但肯定会包含这些信息。 这个问题其实不难解决,之前解决过一次,但是后来又碰到了,忘了之前是怎么搞得了,结果又整了半天,这回直接记录一下好了,节省下次再配的时间。 下面进入正题,其实

    2024年02月05日
    浏览(46)
  • Unity打包APK错误:‘android.enableR8‘选项已被弃用,不应再使用

    Unity打包APK错误:\\\'android.enableR8’选项已被弃用,不应再使用 在Unity游戏开发中,我们经常需要将游戏打包成APK文件以在Android设备上进行测试或发布。然而,有时候在打包APK的过程中,可能会遇到一些错误。其中一个常见的错误是 “The option ‘android.enableR8’ is deprecated and sh

    2024年02月08日
    浏览(47)
  • 【错误记录】Android Studio 中 Kotlin 版本报错 ( Module was compiled with an incompatible version of Kotlin. T )

    在 Android Studio 中 , 编译应用 , 报如下错误 : 这个报错问题 , 出现了十几次 ; 详细报错信息如下 : 下面的报错信息 , 仅做参考 , 就不要点开了 ; 核心报错信息如下 : Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.13. 大概含义就

    2024年02月05日
    浏览(42)
  • 【错误记录】Android Studio 编译报错 ( Could not resolve com.android.tools.build:gradle:7.4.2. )

    在 Mac 中安装了 Android Studio , 首次创建应用运行时 , 报如下错误 : 报错信息中有提示 : Doesn’t say anything about its target Java version (required compatibility with Java 8) A problem occurred configuring root project ‘DataBinding’. Could not resolve all files for configuration ‘:classpath’. Could not resolve com.android.

    2024年02月08日
    浏览(43)
  • 【错误记录】Android Studio 编译报错 ( Android Gradle plugin requires Java 11 to run. You are currently using )

    使用 最新版本的 Android Studio 创建应用 , 并执行 , 报如下错误 : 当前使用的 JDK 版本是 1.8 , 将 JDK 升级为 11 版本 ; 先在指定目录 , 安装 JDK 工具 ; 选择 \\\" 菜单栏 | File | Settings \\\" 选项 , 在 \\\" Build, Execution , Deployment | Build Tools | Gradle \\\" 选项中 , 设置 刚才 安装的 JDK 即可 ; 编译通过

    2024年02月10日
    浏览(41)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包