I have a waypoint script, which is attached to a game object.
When i try to find the script using findobjectoftype method in unity editor it works fine, and it finds that script. But in android build it can’t find the script.After building the game, When i check the editor log, it says “Waypoint” source file could not be found. What should i do to make this work?
New contributor
cristie vicky is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.