Troubleshooting

From Pearhub Wiki
Revision as of 08:58, 24 December 2021 by Steven (talk | contribs) (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you a problem, check this page to see if it has already been solved.

Also, if you come across a problem that isn't listed here, consider adding it after you solved it, if you believe others may run into the same problem.

Compile Errors

Assets/Scripts/CompanyMap/Networking/GameServer.cs(63,42): error CS0103: The name 'HttpUtility' does not exist in the current context

This is likely because you are targeting a platform other than WebGL.

To solve this, open the 'Build Settings'-window (File/Build Settings) select the 'WebGL'-platform and press 'Switch Platform', then wait for the project to recompile.

If the problem persists, navigate to Project Settings (Edit/Project Settings), then under 'Player/Other Settings', set the 'API Compatibility Level' to '.Net Standard 2.1' and close the window. You may need to restart Unity.