Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 /
  • Help Room /
avatar image
2
Question by unity_3UjdA0G4uoZVcQ · Feb 23, 2020 at 10:29 PM · networkingnetwork

Error when install NetCode package: : 'World' does not contain a definition for 'Active' and no accessible extension method 'Active' accepting a first argument of type 'World' could be found

I start learning the new Unity Netcode by this manual: https://docs.unity3d.com/Packages/com.unity.netcode@0.0/manual/getting-started.html

But when I install the package Unity Net Code, it comes out with error:

Library\PackageCache\com.unity.netcode@0.0.4-preview.0\Runtime\ClientServerWorld\ServerSimulationSystemGroup.cs(74,19): error CS1061: 'World' does not contain a definition for 'Active' and no accessible extension method 'Active' accepting a first argument of type 'World' could be found (are you missing a using directive or an assembly reference?)

The console marked with red error and prevented me compiling code. (My project has only one emty GameObject named SharedData, with no other script)

What I've tried: - I think that it need Entities, Hybrid Renderer, and Transport packages installed first, so I remove NetCode, then install all these packages above, then install NetCode again --> still doesn't work - I've search in the internet but found nothing relate to this issue

Does anyone have solution for this? I'm new to Unity, I appreciate your help.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by IgnitedGames · Feb 23, 2020 at 11:44 PM

Got the same problem. It seems to be coming from these few lines appearing in multiple scripts, for example:
ServerSimulationSystemGroup
ClientInitializationSystemGroup
ServerInitializationSystemGroup
ClientPresentationSystemGroup
Whatever that pragma warning disable 618 thing is, it isn't working

Comment
Add comment · Show 3 · Share
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
avatar image IgnitedGames · Feb 24, 2020 at 12:16 AM 0
Share

After doing some experimenting with #pragma warning disable, and #pragma warning disable 1061 (because that was the error code), I have not been able to get a different result. This is probably a development thing, it should work again in a new version where they remove this.

avatar image unity_3UjdA0G4uoZVcQ IgnitedGames · Feb 24, 2020 at 06:22 AM 0
Share

So maybe I should wait for the new co$$anonymous$$g update. Thanks for your help. I'm waiting too long for NetCode, so a little more is ok :D

avatar image IgnitedGames unity_3UjdA0G4uoZVcQ · Feb 24, 2020 at 12:13 PM 0
Share

absolutely relatable man, hopefully they fix it soon

avatar image
0

Answer by Tom60chat · Feb 25, 2020 at 10:44 AM

A new version of Unity NetCode 0.1.0 fixes this error.

Comment
Add comment · Show 2 · Share
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
avatar image IgnitedGames · Feb 25, 2020 at 12:09 PM 0
Share

woah wait when was this updated

avatar image Tom60chat IgnitedGames · Feb 25, 2020 at 01:11 PM 0
Share

On Package $$anonymous$$anager it says "Last update Feb 25, 11:28"

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

270 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How should I verify that all of my client Object are created and ready after loading a new scene? 0 Answers

How do I properly deal with Internal_CloneSingle can only be called from the main thread 0 Answers

Network Multiple Cameras 4 Answers

[UNET] Client cannot call [Command]s, only the host can 1 Answer

How do I sync components porperties in a Network Game? 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