News Forums RAIN General Discussion and Troubleshooting Matrix stack full depth reached?

This topic contains 4 replies, has 2 voices, and was last updated by  alevi 1 year, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #39560

    alevi
    Participant

    Hi,

    I downloaded the StarterKit project and get errors when I play the MultiNavMesh scene. I was also getting this error on my own basic scene, which is why I downloaded the StarterKit to check as well.

    I’m on a mac using Unity 5.2.3f. Does anyone have an idea why this might be happening?
    Thanks!

    Errors

    • This topic was modified 1 year, 4 months ago by  alevi.
    #39569

    Sigil
    Keymaster

    See if changing the version of RAIN in the starter kit to the Unity 5 version fixes the issue. I’ll test on my end and see if I can replicate it.

    #39578

    alevi
    Participant

    Hi Sigil,

    Thanks for the reply. Upgrading to the Unity 5 version did not seem to fix it.

    The matrix stack full depth reached error only seems to occur when inspecting the navigation mesh. I tried this on both Unity 5.1 and 5.2 with the same error. I’m wondering if this is a OSX-only issue?

    Here is a barebones project with just one obstacle and one entity.

    • This reply was modified 1 year, 4 months ago by  alevi.
    #39594

    Sigil
    Keymaster

    I’m sorry it took so long to get back.

    I’m really at a loss on this one. I tested on my PC as well as my Mac (Unity 5.2.3f1) and I can’t replicate this problem. I do get the warning about the shader (which I’m hoping to fix at some point, makes all our lines pink), but I don’t receive any errors about the matrix stack.

    One possibility is that the scene view camera is null for some reason, but I haven’t experienced that case yet. We use this call in our drawing “SceneView.currentDrawingSceneView.camera.projectionMatrix” but so far that has worked well. It is only used for drawing the paths and the navigation mesh… so that might explain why that’s the only place you have the problem.

    I will look into it more. In the mean time you can disable the visualization by clicking the icon next to the question mark a couple times, that’ll skip the calls in question. And on another note, is there anything special about the machine you are running on? Like is it a virtual machine, or does it have an old graphics card or something similar?

    #39600

    alevi
    Participant

    Hi Sigil,

    No problem! I was testing on a 2015 13″ Macbook Pro, so no discrete GPU. No VM either, or any other unusual set-up characteristics.

    Anyways, I’m developing on a PC, and everything works great now!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.