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 562873336 · Oct 20, 2016 at 07:54 AM · assetbundle

Unity5.4 AssetBundle: illegal LocalPathID in persistentmanager

When I upgrade to Unity5.4.1p4, AssetBundle:LoadAsset in Editor crash.

illegal LocalPathID in persistentmanager UnityEngine.AssetBundle:LoadAsset_Internal(String, Type) UnityEngine.AssetBundle:LoadAsset(String, Type) (at C:\buildslave\unity\build\artifacts\generated\common\runtime\AssetBundleBindings.gen.cs:204)

...

The file 'archive:/CAB-xxx/CAB-xxx' is corrupted! Remove it and launch unity again! [Position out of bounds!] UnityEngine.AssetBundle:LoadAsset_Internal(String, Type) UnityEngine.AssetBundle:LoadAsset(String, Type) (at C:\buildslave\unity\build\artifacts\generated\common\runtime\AssetBundleBindings.gen.cs:204)

It's ok on iphone and android device. Their is also no problem in Unity5.3 and older version.

What's the problem?,

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

1 Reply

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

Answer by 562873336 · Oct 22, 2016 at 02:16 AM

I got the reseaon: public GUIStyle style;

change to:

[NonSerialized] public GUIStyle style;

Comment
Add comment · Show 5 · 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 jcaspews · Jan 04, 2017 at 02:43 PM 0
Share

Hello, I have a similar exception (same message but i have no stack) with my Asset, but impossible to find what is causing this.

Can you explain how did you find that it was the public GUIStyle member in your script that was causing this error ?

thanks !

avatar image 562873336 jcaspews · Jan 04, 2017 at 04:34 PM 0
Share

I'am sorry their is a convenient way to find out what cause it. I search this problem like binary search, move out half assets then try build util find the prefab (or something else). And then check scripts attached to the prefab.

avatar image jcaspews 562873336 · Jan 04, 2017 at 04:38 PM 0
Share

Ok, thanks

avatar image jcaspews jcaspews · Jan 04, 2017 at 07:22 PM 0
Share

re, building my game give me a more explicit error on GUIStyle also ! here the stack

 The file 'archive:/CAB-50656b17ae32908250c37c23f09e65f0/CAB-50656b17ae32908250c37c23f09e65f0' is corrupted! Remove it and launch unity again!
 [Position out of bounds!]
 The file 'archive:/CAB-50656b17ae32908250c37c23f09e65f0/CAB-50656b17ae32908250c37c23f09e65f0' is corrupted! Remove it and launch unity again!
 [Position out of bounds!]
 A script behaviour (probably UnityEngine.GUISkin?) has a different serialization layout when loading. (Read -140920916 bytes but expected 7768 bytes)
 Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
 ArgumentException: The Object you want to instantiate is null.
   at UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) [0x0000e] in C:\buildslave\unity\build\Runtime\Export\UnityEngineObject.cs:240 
   at UnityEngine.Object.Instantiate[Tontito] (eGearBuilder.Character.Tontito original) [0x0000c] in C:\buildslave\unity\build\Runtime\Export\UnityEngineObject.cs:201 
   at eGearBuilder.Spawn$$anonymous$$anagement.Spawn$$anonymous$$anager.Spawn (System.String assetName) [0x00072] in D:\DEV\eGearBuilder\eGearBuilder\Assets\Code\SpawnPoint\Spawn$$anonymous$$anager.cs:84 
   at eGearBuilder.Spawn$$anonymous$$anagement.Spawn$$anonymous$$anager.Start () [0x0002a] in D:\DEV\eGearBuilder\eGearBuilder\Assets\Code\SpawnPoint\Spawn$$anonymous$$anager.cs:29 
  

I will try to fix my script.

avatar image tnqiangren jcaspews · Oct 25, 2018 at 05:21 AM 0
Share

And what's your solution for this?

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

80 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

Related Questions

IOS/Android AssetBundle Cache Cleanup 0 Answers

"Platform" Asset Bundle CRC? 1 Answer

Trying to package a prefab for sale in asset store 0 Answers

Asset bundle scene without dependencies 0 Answers

Object pooling long list of icons - Loading/unloading textures 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