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 /
avatar image
1
Question by Bill · Apr 20, 2010 at 06:00 PM · editorbuild-errorassetbundle

C++ Error After Automated Build

I have an automated build process for compiling the Unity project I am working on. While compiling the asset bundles and scenes, I am always seeing the following two errors. Does anyone know what these errors are trying to tell me? Obviously, the Unity Editor shouldn't be getting into this state. Is there something I'm doing wrong that is causing this to occur? What problems will I run into if I ignore the error messages (I prefer to fix the problem, but this may be the only option)?

lhsPreloadSortIndex == -1 UnityEditor.BuildPipeline:BuildAssetBundleInternal(Object, Object[], String[], String, BuildAssetBundleOptions) UnityEditor.BuildPipeline:BuildAssetBundleInternal(Object, Object[], String[], String, BuildAssetBundleOptions) UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions) BatchBuild:CreateAssetBundle(String, String, BuildAssetBundleOptions) (at Assets\Code\Editor\Build\BatchBuild.cs:164) BatchBuild:BuildAssetBundles() (at Assets\Code\Editor\Build\BatchBuild.cs:137) BatchBuild:Build() (at Assets\Code\Editor\Build\BatchBuild.cs:89) BuildMenu:BuildAll() (at Assets\Code\Editor\UI\BuildMenu.cs:40)

[....\Runtime\Misc\SaveAndLoadHelper.cpp line 2088]

and

restore.count (instanceID) UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, BuildTarget, BuildOptions) UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, BuildTarget, BuildOptions) UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) BatchBuild:Build() (at Assets\Code\Editor\Build\BatchBuild.cs:91) BuildMenu:BuildAll() (at Assets\Code\Editor\UI\BuildMenu.cs:40)

[....\Runtime\Misc\SaveAndLoadHelper.cpp line 1883]

Comment
Add comment · Show 4
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 Ben 2 · Apr 22, 2010 at 04:40 PM 0
Share

It might be helpful if you post the script you're using for the -execute$$anonymous$$ethod parameter to Unity.

avatar image Bill · Apr 26, 2010 at 02:25 PM 0
Share

I can not post the code publicly. It is for a commercial project. I was more or less hoping for some more background on what the errors mean. Ignoring the errors seems fine for now, but I bet it bites us in the ass at some point.

avatar image Lucas Meijer 1 ♦♦ · Jun 21, 2010 at 03:49 PM 0
Share

Could you send the code in question in a bugreport to Unity itself? (we keep this data private) We want to fix it, but without being able to reproduce it, that's very hard.

avatar image Bill · Jun 29, 2010 at 02:27 PM 0
Share

The next time I have some down time at work, I will try to reproduce this in Unity 3.0 and submit it. I figure at this point its probably more useful for a reproduction case in 3.0 then 2.6.1.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Chris D. · May 21, 2010 at 05:10 PM

Hi, I am getting the exact same problem. Any chance you figured out what it was Bill?

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 Bill · May 21, 2010 at 08:49 PM 0
Share

Unfortunately no. However, I suspect it may have something to do with adding two resources to the same asset bundle were the first asset depends on the second. I think the assert is trying to warn that the asset is being added a second time since unity automatically pulled it in as a dependency. However, I'm not 100% sure since no one from Unity ever responded.

avatar image Lucas Meijer 1 ♦♦ · Sep 11, 2010 at 08:26 PM 0
Share

Actually, I did respond, requesting the code that causes this problem so we can fix it. That offer still stands.

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

No one has followed this question yet.

Related Questions

How to load an AssetBundleManifest in the Editor? 0 Answers

How is asset bundle crc and hash created? 0 Answers

IOS build from unity 2017.1.2 and use the unity trash dash package and the game is not running on iphone 5s and game is stuck and not access the assetbundle on IOS ? 0 Answers

Game works in editor, not in build 1 Answer

How can I stop the variable values reverting to its default values after being built? 1 Answer


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