• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by decay0815 · May 07, 2016 at 04:13 PM · networkingmultiplayer-networkinglobby

Spawn scene object not found for 1 UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate()

I have created a minimum Unity project which only contains a GameObject with my own NetworkLobbyManager Component. The code simply reads: using UnityEngine; using UnityEngine.Networking;

 public class LobbyManagerTest : NetworkLobbyManager
 {
     public void Start()
     {
         StartServer();
         StartClient();
     }
 }

I set LobbyScene to the scene containing the GameObject and PlayScene to an empty scene. I further set LobbyPlayerPrefab and GamePlayerPrefab to prefabs with empty class LobbyPlayerTest : NetworkLobbyPlayer and class PlayerTest : NetworkBehaviour respectively. All other settings are set to default.

When I now run the project in the editor, everything works fine.

Now I add a GameObject with an added Script class GameManagerTest : NetworkBehaviour.

Running the project now raises the error: "Spawn scene object not found for 1 UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate()"

I searched the web for hours and wasn't able to find anything helping me here. I am new to UNET so probably I do something basic wrong, such as setting up the objects the wrong way. I tried many things such as saving the GameManager GameObject as prefab and registering it with the NetworkManager but to no avail. Adding a NetworkManager HUD at runtime, it shows:

screenshot

Perhaps anyone can help me out what I'm doing wrong? Many thanks in advance!

unbenannt.png (53.9 kB)
Comment
ThePCJakub

People who like this

1 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

  • Sort: 

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

UNET Multiplayer Lobby not creating an instance of the lobby player 1 Answer

[UNET] LobbyManager - OnLobbyServerSceneLoadedForPlayer() not executing for clients 1 Answer

Multiplayer game with multiple level 0 Answers

OnStart ___ vs OnLobbyStart ___ methods from NetworkManager and NetworkLobbyManager 1 Answer

Using 2 project with 1 lobby 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges