• 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 enerology · Jul 27, 2020 at 04:29 PM · dots

DOTS game works in editor, but subscene does not load in build?

I have been getting completed builds but entities/subscene do not load in the build?

In the editor, the game works perfectly.

I have been working on this for quite awhile trying to skim the internet for a solution, but couldn't find any that were answered, thus I am here.

I get this error from the player debug file

 Could not open file C:/Users/Enerology/Desktop/Tower Defense Dots/Tower Defense Test v0.1_Data/StreamingAssets/SubScenes/306c44059c2951d409c2be4fdee1803d.entityheader for read 
 (Filename: C:\buildslave\unity\build\Runtime/File/OpenFileCache.cpp Line: 61)
 
 IOException: Failed to read from C:/Users/Enerology/Desktop/Tower Defense Dots/Tower Defense Test v0.1_Data/StreamingAssets/SubScenes/306c44059c2951d409c2be4fdee1803d.entityheader!

Leave a comment below if you need more information.

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 enerology · Jul 27, 2020 at 07:27 PM 0
Share

Others had the same issue and they couldn't get it to work either. I just tried making my own build configurations, but that wouldn't build at all due to

 Build Basic Build Config failed after 0ms.
 No valid build pipeline found for Basic Build Config. At least one component that derives from IBuildPipelineComponent must be present.

2 Replies

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

Answer by enerology · Jul 27, 2020 at 09:03 PM

Turns out that you need to install the "Platforms" package AND the "Platforms.Windows" package to get it to work with subscenes.

com.unity.platforms.windows

com.unity.platforms

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 krooq · Dec 19, 2020 at 10:19 AM 0
Share

O$$anonymous$$G thankyou @enerology. This was driving me nuts! The Hybrid Renderer just doesn't work without these packages and there is no errors to indicate it.

avatar image GameDeveloper1111 · Dec 24, 2020 at 11:48 AM 0
Share

Also consider trying the build configurations used in the official DOTS sample: https://github.com/Unity-Technologies/EntityComponentSystemSamples/tree/master/ECSSamples/Assets/BuildConfigurations

avatar image
0

Answer by andrew-lukasik · Jul 27, 2020 at 09:24 PM

Alternative solution to this is to write/read this data manually from code.

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

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

134 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

Related Questions

EntityArchetype and ScriptableObject 0 Answers

Unity DOTS - How is it that they've implemented Entities.ForEach? 0 Answers

Adding constraints to PhysicsBody of the Unity.Physics DOTS package 1 Answer

Can not add PhysicsCollider at runtime Unity in ECS 1 Answer

Should I use preview packages when developing Asset Store assets? 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