docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LogWarning

    LogWarning(string)

    LogWarning can be used to write a log message.

    Declaration
    public static void LogWarning(string msg)
    Parameters
    Type Name Description
    string msg

    The msg to log

    Remarks

    LogWarning works the same way as Debug.LogWarning. Addressables logs warnings and errors so by default this function will log.

    Examples
    Addressables.LogWarning("Operation took longer than 1 minute");
    In This Article
    Back to top
    Copyright © 2025 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)