UnloadModel exception when freeing VBO #2993
-
Hello everyone, I've been struggling with this for the last 2 days, and can't seem to find the cause: when calling What can be the scenario or cause this line throws an exception? The model has only one mesh, the vertex array is unloaded successfully, Thanks for helping. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
@ShaharKlingerSSYS How are you loading/creating the model? Please, could you show the loading/creation code? The issue could be related to |
Beta Was this translation helpful? Give feedback.
Hey! I think I know the issue! You are using different allocators to load and free the memory! Try using raylib
MemAlloc()
for your vertex arrays instead of system providedmalloc()
.