Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Next Gen Recorder - News & Support

Discussion in 'Assets and Asset Store' started by pmjo, Mar 6, 2020.

  1. kloot

    kloot

    Joined:
    Mar 14, 2018
    Posts:
    77
    Thank you for your reply,

    For someone with no C/C++ knowledge (like myself), it would be CRAZY appreciated if you (or anyone on the Unity team) could include what's needed to read runtime data from a named AudioMixerGroup into a Unity package.

    There are lots of threads on this forum asking for this exact feature, so I know plenty of folks would find it incredibly useful :)
     
    pmjo likes this.
  2. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    240
    May I ask why you need to access the audio samples? And on what platforms?
     
  3. kloot

    kloot

    Joined:
    Mar 14, 2018
    Posts:
    77
    I my case I use it to automatically switch between talk and idle automation whenever there are pauses in voice acting. Today I do this using OnFilterRead and it works perfectly for both pre-recorded audio and voices generated at runtime.

    But of course using OnFilterRead has the huge side effect of then leading to crackling audio:
    https://forum.unity.com/threads/is-onfilterread-paused-by-the-garbage-collector.923390/

    There's a number of use cases, but most folks asking for it seem to be needing it for doing dynamic things based on microphone input. From what I gather, we all need just read access to the stream - we just need a way to monitor if a named MixerGroup is producing output or not.
     
    Last edited: Aug 26, 2023
  4. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    240
    A customer just reported that Next Gen Recorder is giving an error "failed to capture render target" with URP 14. I have confirmed this to happen and it seems URP has changed so radically from 12 that I don't have a fast fix or any fix for this at the moment.

    I will investigate the issue but for now I advice not to buy NGR if you are planning to use URP14. And please always try the FREE version before buying to make sure it works with your rendering setup.
     
  5. AndrewStyan

    AndrewStyan

    Joined:
    Apr 6, 2020
    Posts:
    14
    Hi pmjo,
    I've just started using NGR again after ages and Unity now occasionally throws a bunch of "More than 2048 allocators are registered. Reduce the allocator count." errors then crashes. Doesn't happen all the time, but only when NGR is active. Using 2019.4.36f1 and looks like URP 7.71.

    Does this sound like an NGR problem? Any suggestions?
     
  6. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    240
    Hmm. Might actually be a bug in the Unity version you are using. At least such problem seems to be fixed in 2019.4.3f1. See here: https://unity.com/releases/editor/whats-new/2019.4.3

    Maybe you could try that version version? If that does not help, let's check more.

    EDIT :Hmm.. but you mentioned that your version is slightly newer. What kind of integration are you using and does the problem happen in editor? You could try to see if it is audio related by disabling audio, set Recorder.RecordAudio = false and be sure you haven't added the audio recorder component (usually added automatically but setting RecordAudio false disables it)
     
    Last edited: Sep 23, 2023
  7. pmjo

    pmjo

    Unity Technologies

    Joined:
    Sep 17, 2013
    Posts:
    240
    Automatic integration with URP 14 is still unsupported but I have created a custom integration guide for it. It handles two different cases, a) Recording the screen, b) Recording the screen without the UI.

    You can find it from here.