docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Trace Actions

    You can trace Actions to generate a log of all activity that happened on a particular set of Actions. To do so, use InputActionTrace. This behaves in a similar way to InputEventTrace for events.

    Note

    InputActionTrace allocates unmanaged memory and needs to be disposed of so that it doesn't create memory leaks.

    Warning

    It looks like the sample you are looking for does not exist.

    Once recorded, a trace can be safely read from multiple threads as long as it is not concurrently being written to and as long as the Action setup (that is, the configuration data accessed by the trace) is not concurrently being changed on the main thread.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)