Skip to main content

Common Issues - Rendering

This page is dedicated to common issues surrounding rendering. If you are experiencing an issue that does not relate to rendering consider looking at one of the other pages in this section, which are also listed here.

Make sure to Update Replay!
A lot of times issues can be fixed by simply updating your plugin to the latest version, please make sure to check you are on the latest release version before looking further into this section. More info on how to do this here

Video not rendering in Playground#

This could be due to the Api Compatibility Level in the project not being set to .NET 4x, or the Linux module not being installed on the Unity version.

Possible solutions:

  • Install the Linux module on the Unity version you are working in.
  • Set your Api Compatibility Level in the project to .NET Standard 4x.

    images-small

Resizing of app window in Replay on first frame causes RenderTextures to go black#

This could be due to Unity flushing some GPU buffers.

Possible solutions:

  • Delay the use of RenderTexture to the second frame. (Example below)
#if LUNA_REPLAY && !UNITY_EDITOR      protected virtual IEnumerator Start()      {         yield return new WaitForEndOfFrame();         yield return new WaitForEndOfFrame();#else      protected virtual void Start()      {#endif         if (activation == ActivationType.Start && activated == false)         {            Activate();         }      }

Replay's in-Unity editor outputs 2 videos instead of one (duplication)#

This could be caused by having multiple fields added that are the same.

Possible solutions:

  • Check for duplicate fields added in the editor.

Luna watermark appearing on videos#

This could be happening due to having accidentally switched roles.

Possible solution:

  • Re-login in the Replay tab within Unity, and check you have the correct role.