• 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
1
Question by bsgbryan · Sep 08, 2020 at 12:49 PM · dots

Started getting error realted to entity conversion

I started getting the following error just now:

Can't remove Camera because HDAdditionalCameraData (Script) depends on it UnityEngine.Object:DestroyImmediate(Object)

I literally just moved my project from one machine to another via a USB drive, opened the editor, made sure there were no warnings/errors, hit play, and BAM. My game just doesn't work anymore.

I then updated all my packages to their newest verisons:

HDRP: Version 9.0.0-preview.54 Hybrid Renderer: Version 0.8.0-preview.18

I'm on Unity 2020.1.4f1

I can't for the life of me figure out what's going on.

The full stack trace is:

Unity.Entities.Conversion.GameObjectConversionMappingSystem:CreateCompanionGameObjects() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities.Hybrid/GameObjectConversion/GameObjectConversionMappingSystem.cs:863) Unity.Entities.GameObjectConversionUtility:Convert(World) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities.Hybrid/GameObjectConversion/GameObjectConversionUtility.cs:155) Unity.Entities.GameObjectConversionUtility:ConvertIncrementalInitialize(Scene, GameObjectConversionSettings) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities.Hybrid/GameObjectConversion/GameObjectConversionUtility.cs:207) Unity.Scenes.Editor.LiveLinkDiffGenerator:Convert(Scene, Hash128, ConversionFlags, BuildConfiguration) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Scenes.Editor/LiveLinkDiffGenerator.cs:177) Unity.Scenes.Editor.LiveLinkDiffGenerator:UpdateLiveLink(Scene, Hash128, LiveLinkDiffGenerator&, Int32, LiveLinkMode, BuildConfiguration) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Scenes.Editor/LiveLinkDiffGenerator.cs:219) Unity.Scenes.Editor.LiveLinkConnection:AddLiveLinkChangeSet(Hash128, List`1, LiveLinkMode) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Scenes.Editor/LiveLinkConnection.cs:383) Unity.Scenes.Editor.LiveLinkConnection:Update(List`1, NativeList`1, NativeList`1, LiveLinkMode) (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Scenes.Editor/LiveLinkConnection.cs:330) Unity.Scenes.Editor.EditorSubSceneLiveLinkSystem:OnUpdate() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Scenes.Editor/EditorSubSceneLiveLinkSystem.cs:47) Unity.Entities.ComponentSystem:Update() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystem.cs:107) Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystemGroup.cs:513) Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystemGroup.cs:461) Unity.Entities.ComponentSystem:Update() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystem.cs:107) Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystemGroup.cs:513) Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystemGroup.cs:461) Unity.Entities.ComponentSystem:Update() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ComponentSystem.cs:107) Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at Library/PackageCache/com.unity.entities@0.14.0-preview.18/Unity.Entities/ScriptBehaviourUpdateOrder.cs:333)

Any help would be greatly appreciated, thanks!

Comment
Add comment · Show 1
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 andrew-lukasik · Sep 09, 2020 at 07:07 PM 0
Share

I know it's crazy but dots project seems to throw different exceptions on different machines, not sure why tho. Probably some local settings or cached data is different between machines. I treat those exceptions as what they are, under-reported exceptions, and just fix them. In this particular case - it strongly advises against converting Camera to entity because of dependency without conversion path.

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

137 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

Related Questions

[ECS] Create Entities from Job ( IJobForEachWithEntity) using an EntityCommandBuffer 1 Answer

Best way to get data from a Monobheaviour in a JobComponentSystem? 2 Answers

[ECS] DefaultWorldInitialization.Initialize take 50MB 1 Answer

How to serialize/deserialize entities at runtime -1 Answers

How to create realistic wire 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