Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 manvi_goel · Dec 09, 2018 at 01:21 AM · androidvuforiamemoryopengl

OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY -- Vuforia AR

I am getting this error in the Vuforia Camera Screen. The camera screen runs for a while and object scanning works perfectly for some time. If we stay on the camera screen for a while the app crashes throwing multiple GL_OUT_OF_MEMORY errors.

This is the complete DEBUG log

 12-09 04:13:14.843 21184 21209 E Unity   : OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command
 12-09 04:13:14.843 21184 21209 E Unity   :  
 12-09 04:13:14.843 21184 21209 E Unity   : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 336)
 12-09 04:13:14.843 21184 21209 E Unity   : 
 12-09 04:13:14.884 21184 21209 E Unity   : OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command
 12-09 04:13:14.884 21184 21209 E Unity   :  
 12-09 04:13:14.884 21184 21209 E Unity   : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 336)
 12-09 04:13:15.024 21632 21632 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 12-09 04:13:15.024 21632 21632 F DEBUG   : Build fingerprint: 'OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1811051725:user/release-keys'
 12-09 04:13:15.024 21632 21632 F DEBUG   : Revision: '0'
 12-09 04:13:15.024 21632 21632 F DEBUG   : ABI: 'arm'
 12-09 04:13:15.024 21632 21632 F DEBUG   : pid: 21184, tid: 21209, name: Thread-16  >>> com.IIITD.DOTSAPP <<<
 12-09 04:13:15.024 21632 21632 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xbc1cd974
 12-09 04:13:15.024 21632 21632 F DEBUG   :     r0 48e1b285  r1 00000000  r2 48e09801  r3 bc1cd970
 12-09 04:13:15.024 21632 21632 F DEBUG   :     r4 00000002  r5 5b3f0000  r6 bf836d00  r7 0001fe00
 12-09 04:13:15.024 21632 21632 F DEBUG   :     r8 00000000  r9 00000078  sl 00000000  fp 00000000
 12-09 04:13:15.024 21632 21632 F DEBUG   :     ip 00000000  sp c69ff260  lr d704b10b  pc d72dae70  cpsr 60060030
 12-09 04:13:15.054 21632 21632 F DEBUG   : 
 12-09 04:13:15.054 21632 21632 F DEBUG   : backtrace:
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #00 pc 0035ce70  /vendor/lib/egl/libGLESv2_adreno.so (A5xContext::HwPatchForDirectRendering(EsxRenderBucket*, EsxLinkedList*, unsigned int)+4155)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #01 pc 000cd109  /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::ProcessAndSubmitRendering(EsxFlushReason)+6140)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #02 pc 001c2361  /vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+312)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #03 pc 001691e5  /vendor/lib/egl/libGLESv2_adreno.so (EsxSyncObject::Create(EsxSyncObjectCreateData*)+112)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #04 pc 000b5d41  /vendor/lib/egl/libGLESv2_adreno.so (EsxContext::GlFenceSync(unsigned int, unsigned int)+88)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #05 pc 004e0614  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #06 pc 004e5208  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #07 pc 004d7d3c  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #08 pc 004da294  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #09 pc 004d26fc  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #10 pc 003b5aac  /data/app/com.IIITD.DOTSAPP-amXNIhA4X61Aa_fxHh6ACQ==/lib/arm/libunity.so
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #11 pc 000482e3  /system/lib/libc.so (__pthread_start(void*)+22)
 12-09 04:13:15.054 21632 21632 F DEBUG   :     #12 pc 0001b5e7  /system/lib/libc.so (__start_thread+32)
 12-09 04:13:15.696  1285 21633 W ActivityManager:   Force finishing activity com.IIITD.DOTSAPP/com.unity3d.player.UnityPlayerActivity
 12-09 04:13:15.720  1285 21633 W ActivityManager: Exception thrown during pause
 12-09 04:13:15.720  1285 21633 W ActivityManager: android.os.DeadObjectException
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at android.os.BinderProxy.transactNative(Native Method)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at android.os.BinderProxy.transact(Binder.java:802)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at android.app.IApplicationThread$Stub$Proxy.schedulePauseActivity(IApplicationThread.java:1117)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1474)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:4140)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:4082)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3917)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2177)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:684)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:516)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:392)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.AppErrors.crashApplication(AppErrors.java:337)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:16198)
 12-09 04:13:15.720  1285 21633 W ActivityManager:     at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:85)
 12-09 04:13:15.753  1285 21633 I ActivityManager: Config changes=480 {1.0 0 404mcc10mnc [en_US] ldltr sw411dp w411dp h707dp 420dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.53mThemeChanged = 0}
 12-09 04:13:15.795  1285 21633 I ActivityManager: Override config changes=480 {1.0 0 404mcc10mnc [en_US] ldltr sw411dp w411dp h707dp 420dpi nrml long port finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1080, 1920) s.53mThemeChanged = 0} for displayId=0
 12-09 04:13:15.839  1285  1346 I ActivityManager: Showing crash dialog for package com.IIITD.DOTSAPP u0
 12-09 04:13:16.132  1285  2479 I ActivityManager: Process com.IIITD.DOTSAPP (pid 21184) has died: vis  +99TOP 
 12-09 04:13:16.137  1285  2479 D ActivityManager: Process com.IIITD.DOTSAPP has 0 services



I have tested the app on Oneplus 5, Oneplus 6 and Google Pixel. The error only occurs in Oneplus 5.

Can anyone please help me solve this issue?

Comment
Add comment · Show 1
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
avatar image salma_unity986 · Jul 08, 2019 at 05:41 AM 0
Share

Were you able to solve it ? If so Can u share How to solve

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Numan221 · May 04, 2020 at 09:56 AM

Hello. Im having the same problem. IM using AROUCO for aumented reality. In my case the error occurs several times after sinally crashing. Have you find a solution?. My devide is Redmi Note 7.

In the debug log there´s anotehr error, however, that´s not critical:

05-02 12:22:10.993: E/Unity(23528): OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command

05-02 12:22:10.993: E/Unity(23528): (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 353)

05-02 12:22:11.038: E/Unity(23528): OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command

05-02 12:22:11.038: E/Unity(23528): (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 353)

05-02 12:22:11.040: E/GvrShimUnity(23528): getControllerConnectionStatus device 0 api status:

05-02 12:22:11.040: E/GvrShimUnity(23528): getControllerConnectionStatus device 1 api status:

05-02 12:22:11.040: E/GvrShimUnity(23528): getControllerConnectionStatus device 0 api status:

05-02 12:22:11.040: E/GvrShimUnity(23528): getControllerConnectionStatus device 1 api status:

05-02 12:22:11.144: E/GvrShimUnity(23528): getControllerConnectionStatus device 0 api status:

05-02 12:22:11.144: E/GvrShimUnity(23528): getControllerConnectionStatus device 1 api status:

05-02 12:22:11.145: E/Unity(23528): OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command

05-02 12:22:11.145: E/Unity(23528): (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 353)

05-02 12:22:11.193: E/Unity(23528): OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command

05-02 12:22:11.193: E/Unity(23528): (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 353)

05-02 12:22:11.264: E/GvrShimUnity(23528): getControllerConnectionStatus device 0 api status:

05-02 12:22:11.264: E/GvrShimUnity(23528): getControllerConnectionStatus device 1 api status:

05-02 12:22:11.264: E/GvrShimUnity(23528): getControllerConnectionStatus device 0 api status:

05-02 12:22:11.264: E/GvrShimUnity(23528): getControllerConnectionStatus device 1 api status:

05-02 12:22:11.304: E/Unity(23528): Could not allocate memory: System out of memory!

05-02 12:22:11.304: E/Unity(23528): Trying to allocate: 1638356B with 16 alignment. MemoryLabel: Texture

05-02 12:22:11.304: E/Unity(23528): Allocation happened at: Line:78 in

05-02 12:22:11.304: E/Unity(23528): Memory overview

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_TEMP_THREAD ] used: 32768B | peak: 0B | reserved: 3080192B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_TEMP_JOB_1_FRAME ] used: 0B | peak: 0B | reserved: 3145728B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_TEMP_JOB_2_FRAMES ] used: 0B | peak: 0B | reserved: 1048576B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_TEMP_JOB_4_FRAMES ] used: 0B | peak: 0B | reserved: 2097152B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_TEMP_JOB_ASYNC ] used: 4556666B | peak: 0B | reserved: 6291456B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_DEFAULT ] used: 9796231B | peak: 10547225B | reserved: 10063466B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_GAMEOBJECT ] used: 2200252B | peak: 2200528B | reserved: 2217675B

05-02 12:22:11.304: E/Unity(23528): [ ALLOC_GFX ] used: 1142113821B | peak: 1142118045B | reserved: 1142141808B

05-02 12:22:11.304: E/Unity(23528): UnityEngine.Texture2D:Internal_Create(Texture2D, Int32, Int32, Int32, GraphicsFormat, TextureCreationFlags, IntPtr)

05-02 12:22:11.304: E/Unity(23528): UnityEngine.Texture2D:.ctor(Int32, Int32, TextureFormat, Int32, Boolean, IntPtr)

05-02 12:22:11.304: E/Unity(23528): UnityEngine.Texture2D:.ctor(Int32, Int32)

05-02 12:22:11.304: E/Unity(23528): PaperPlaneTools.AR.MainScript:Proces

Has anyone a solution?

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

226 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 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 5 Geometry Shader Broken on Android 1 Answer

Vuforia Plugin Issues with Computer and Android 0 Answers

Triggering animation with raycasting does not work with my script for android AR app. 0 Answers

Push Notifications iOS & Android Vuforia & UrbanAirship 0 Answers

Is OpenGL Causing a "applicationDidReceiveMemoryWarning" Crash? (version 4.1.2f1) 0 Answers


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