Share via

how to fix "the name "Debug.LogFormat" does not exist in current context"?

А А 0 Reputation points
2024-08-12T09:22:25.68+00:00

User's image

i was programming random things, cuz why not, and in one moment "Debug.LogFormat" started to show as error "the name "Debug.LogFormat" does not exist in current context, and i just cant do anything, because everything i write starts to show as error.....idk what to do, so can somebody help me with this? (sorry for bad english)

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,836 Reputation points Microsoft External Staff
    2024-08-13T06:50:29.0133333+00:00

    Hello @А А,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Looks like you are using Visual Studio Code(VS Code) and developing Unity related code, as you know, VS Code is different from VS IDE, I would recommend you post this question here: Github - vscode or here: Unity Community for better help.

    Thanks for your understanding:)

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.