- edited description
Text Rendering error.
In Advertisement example.
This error comes.
11-05 10:11:07.697 8482 8501 E Unity : ArgumentException: Mesh can not have more than 65000 vertices 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.VertexHelper.FillMesh (UnityEngine.Mesh mesh) [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.Graphic.DoMeshGeneration () [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.Graphic.UpdateGeometry () [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.Text.UpdateGeometry () [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.Graphic.Rebuild (CanvasUpdate update) [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x00000] in <filename unknown>:0 11-05 10:11:07.697 8482 8501 E Unity : UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 11-05 10:11:07.697 8482 8501 E Unity : UnityEngine.DebugLogHandler:LogException(Exception, Object) 11-05 10:11:07.697 8482 8501 E Unity : UnityEngine.Logger:LogException(Exception, Object) 11-05 10:11:07.697 8482 8501 E Unity : UnityEngine.Debug:LogException(Exception, Object) 11-05 10:11:07.697 8482 8501 E Unity : UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate()
One of the reason is it logs a lot. When it pressed the scanning button. Scanning doesn't stop for a while. and it dumps a lot of event messages. So, the text cannot handle all of the text.
Tested in Android 8.0
Comments (4)
-
reporter -
reporter - edited description
-
This is a limitation of the Unity renderer. The example scripts are just that "examples". You need to modify the examples to fit your application. Either create a new on-screen logging method to get around the Unity limitation or filter the on-screen log messages to limit the amount of text; or don't use the on-screen logger.
-
- changed status to resolved
- Log in to comment