小编Kun*_*hah的帖子

Unity3D项目在模拟器中打开,但不在手机上打开

您好我正在尝试从Android打开一个嵌入式Unity 3D项目但是当我尝试在实际手机(Google Pixel XL)上运行时,似乎该项目将打开但立即关闭并返回到Android应用程序.当我在模拟器(同一部手机)中打开应用程序时,Unity 3d项目打开正常.我的堆栈跟踪中列出了几个错误,并且在我尝试运行应用程序时附加了完整的logcat.从搜索这些错误,我发现没有具体解决这个问题.如果有人有任何建议,请告诉我.我的代码可以在以下链接中找到

https://drive.google.com/drive/folders/167mCvox1d564VUw4EsNbDn_ir2jP3QrZ?usp=sharing

更新:我试图在较旧的手机上打开Unity 3D项目,它打开完美.是否有额外的权限或Pixel需要包含的任何内容?

更新:我运行了一个内存配置文件,但不确定如何解释它.我的输出显示如下:

记忆档案

手机截图 模拟器

logcat的:

05-08 10:10:17.967 14966-14987/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
05-08 10:10:17.972 14966-14987/? I/zygote: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
05-08 10:10:17.973 14966-14987/? I/OpenGLRenderer: Initialized EGL, version 1.4
05-08 10:10:17.973 14966-14987/? D/OpenGLRenderer: Swap behavior 2
05-08 10:10:22.204 14966-15162/com.example.kshah.unityvrtest I/Unity: SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 3753mb
    SystemInfo ARM big.LITTLE configuration: 2 big (mask: 12), 2 little (mask: 3)
05-08 10:10:22.205 14966-15162/com.example.kshah.unityvrtest I/Unity: ApplicationInfo com.example.kshah.unityvrtest version 1.0 build c35f44f5-89ae-4e59-bedb-0c7f4e71bee4
05-08 10:10:22.211 …
Run Code Online (Sandbox Code Playgroud)

android unity-game-engine

19
推荐指数
1
解决办法
579
查看次数

Android中的嵌入式Unity崩溃应用程序

我的android程序中有一个嵌入式Unity3d项目.三维项目打开精美的立体视图在一个白日梦耳机使用(尽管它总是说控制器断开这是另外一个问题).当我单击x退出VR视图时,它会按预期返回到Android应用程序,但在1秒后应用程序翻转到横向和崩溃.

以下是问题的整个堆栈跟踪:

05-02 15:41:08.907 12645-12770/com.example.kshah.unityvrdisabled I/Unity: ApplicationInfo com.example.kshah.unityvrdisabled version 1.0 build c0ed7691-46f7-416e-9b27-1266306bfb38
05-02 15:41:08.993 12645-12770/com.example.kshah.unityvrdisabled E/Unity: Unable to find AudioPluginMsHRTF
05-02 15:41:08.996 12645-12770/com.example.kshah.unityvrdisabled E/Unity: Unable to find AudioPluginOculusSpatializer
05-02 15:41:08.999 12645-12770/com.example.kshah.unityvrdisabled E/Unity: Unable to find libaudioplugingvrunity
05-02 15:41:09.005 12645-12770/com.example.kshah.unityvrdisabled E/Unity: Unable to find libAudioPluginOculusSpatializer
05-02 15:41:09.025 12645-12770/com.example.kshah.unityvrdisabled D/Unity:  GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader …
Run Code Online (Sandbox Code Playgroud)

android unity-game-engine

7
推荐指数
1
解决办法
433
查看次数

标签 统计

android ×2

unity-game-engine ×2