I'm passing a rendertexture to Camera.RenderToCubemap and according to the documentation, the dimension of the texture must be TextureDimension.Cube. However, I'm getting:
Assertion failed on expression: texture->getDimension() == kTexDim2D
Without seeing the source for RenderToCubemap I have no idea why this assertion could be triggering - according to the docs, the dimension shouldnt be 2D it should be cube. Any ideas why?