Screentoworldpoint is gone

The screentoworldpoint is completly gone for me in unity idk why but it just wont let me use it at all anymore

1 Like

How do you use it? Provide some code.
Also check Script Reference: Unity - Scripting API: Camera.ScreenToWorldPoint

1 Like

oh sorry i thought i had a screenshot atached
image


1 Like

Regenerate Project files (this is a solution for the current topic):


After what event did this happen?

Examples:

  • Any Update: Unity, packages, etc.
  • Importing 3rd party plugin, asset, etc.
  • Declaring your own class with “Camera” name.

You can also provide all class by using this button:


You can also try to Delete Library Folder.

1 Like

Did you name your class Camera also?

2 Likes

thanks the last one to regenerate project files worked

1 Like

You can also mark my answer as a Solution using the button below the post to allow other users to find the correct answer immediately.