(Error: Combination of orthographic camera and screen size displacement can consume a lot of memory. We recommend switching to world space displacement and selecting an appropriate tessellation size.)
This error message is triggered in cases where:
- The active camera's projection is set to 'Parallel'
- Displacement is used in the scene
This is currently an unsupported scenario that may cause excessively high RAM usage. We are working on removing this limitation in future versions of Corona.
Solutions/workarounds:
- Disable the orthographic projection option in the active camera - for example, switch to perspective projection mode - this is the simplest and most effective solution, however it will change the appearance of the rendered image because of the change in the camera projection type.
Note: setting a very narrow field of view in a camera and moving it far away from the scene objects can create a similar effect as using the orthographic projection mode. This can be used as a workaround.
- Change displacement calculation method from screen size to world size (Render Settings > Performance Settings > Displacement) - this should prevent the extreme RAM usage in most cases while maintaining the appearance of the scene. Remember to use the highest possible displacement world size value, otherwise (when using too small values) high memory usage may become an issue again.
- Disable displacement completely from within the material that has it enabled. This can obviously change the appearance of your scene.