microsoft / MRDesignLabs

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
https://developer.microsoft.com/en-us/windows/mixed-reality/design
MIT License
64 stars 35 forks source link

'Build AssetBundles' Crash #1

Open cgimber opened 7 years ago

cgimber commented 7 years ago

I am attempting to follow the directions in the case study, but Assets > Build AssetBundles causes Unity to crash. Here is a related post in the dev forum.

I am running a Mac OS Sierra and I was able to reproduce these results with Unity 5.5.2f and 5.6.

image

cgimber commented 7 years ago

whoops looks like there was a typo in the case study instructions that was causing the build to fail.

image

Unfortunately the bundled file is not showing up in OneDrive. Is there anything else I should try?

paseb commented 7 years ago

The current HoloSketch build is with Unity 5.4 and unfortunately they keep changing the serialization structure for prefabs. This causes bundled elements in other versions to fail when trying to parse the prefab from the asset bundle. I'm in the process of upgrading the app and project to 5.6 however it's unfortunately not a quick task. I should have a new build with 5.6 up next week but until then you'll need to use 5.4 to create the asset bundles.

cgimber commented 7 years ago

@paseb thank you!

allycappiello commented 7 years ago

I'm having the same issue... has this been resolved yet @paseb? I'm currently using Unity 5.5.0f3 on Mac OS Sierra. Thanks!

paseb commented 7 years ago

Hi @allycappiello,

I'm still in the process of updating and looking to move away from asset bundles since they are linked to the version of Unity generating them. Currently I'm working to resolve bugs with getting OneDrive support back up and running in a Unity 2017 version of the app. Sorry this has taken so long but there are just a lot of moving parts at this time.

thanks, -pat

allycappiello commented 7 years ago

Thanks for the quick update @paseb! Please let us know when it's up and running :)

IsaacWalker commented 6 years ago

Probably slightly late but still relevant: (1) You need Unity 5.4.5f1 (2) Ensure that the thumbnail is put in the same AssetBundle as the Prefab (3) Make sure the File and the manifest are uploaded to Drive

Other notes (Before opening project in Unity): (1) Edit the version in ProjectSettings.asset and ProjectVersion.txt to be 5.4.5f1 (in ProjectsSettings folder). (2) Create the folders for AssetBundles and Resources (In Assets folder).