Notice for NinjaScript Developers Overriding OnRender

Prior to March 26th 2018, there was inconsistencies in the help documentation that SharpDX resources should be disposed in OnStateChanged. We have identified that this guidance is incorrect, as disposing SharpDX resources in OnTerminated can result in access violation errors. Creating and disposing of SharpDX resources should only occur in OnRender or OnRenderTargetChanged.

We have updated the inconsistent information in the help guide which can be referenced here. If you have any code similar to the previously documented approach, it is recommended that you update accordingly.

onRender

If you have follow-up questions, please contact us at [email protected].