Unity-Technologies / Unity-Technologies/multiplayer-community-contributions
error CS0103: The name 'PhotonAppSettings' does not exist in the current context
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 555
- Forks
- 197
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 1
Description
I am currently working to implement the Networking system from BossRoom into my own project so that I can learn how High-Level Networking is implemented in the new Unity Netcode for Gameobjects system.I have reached a point on the "MainMenu" scene that I'm stuck on.
After downloading the "Photon Realtime Transport for Netcode for GameObjects" Unity package, I am receiving the error: Library/PackageCache/com.community.netcode.transport.photon-realtime@da6250d3a9/Runtime/PhotonRealtimeTransport.cs(170,50): error CS0103: The name 'PhotonAppSettings' does not exist in the current context
This error is NOT being thrown in the BossRoom project and the scripts are identical between my project and the example project. HOW can I overcome this CS0103 error?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Runtime/PhotonRealtimeTransport.cs around line 170 and compare the package setup with the BossRoom project, focusing on how the MainMenu scene is configured. Done means the PhotonAppSettings reference resolves and the MainMenu scene no longer produces CS0103.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100