Extracting Unity 3D model from Kia Mixed Reality Experience (NERDS ONLY!)
This one is for the nerds and the brave. If you have followed my previous blog post and had a tinker with the PV5 Mixed Reality app, and know how to drive modelling software, it's possible to extract the full Kia PV5 model from the app, this could be useful for measuring and creating adaptions.
I'm going to keep the instructions here brief and to the point, and they assume some tech knowhow, but then someone wanting to tinker with automotive Unity model and it's data will likely have that automotive knowhow.
Pull the PV5 CAD Model From Android Device
This will be the the type of vehicle last viewed in the app.
- Use Android. This can't be done on iOS, there are ways, but it's more complicated, and I don't have any iOS devices, and don't want any either. :-)
- In your Android Device, Enable USB Debugging, it's in Developer settings, so you might need to enable that first also (Google is your friend here)
- Connect your phone to a PC
- Install ADB Explorer from the Microsoft store: https://apps.microsoft.com/detail/9ppgn2wm50qb
- Open ADB Explorer, authorize your Android device (on your phone),
- Connect and select your device
- Select Internal Storage
- Select the following path: Android/data/com.kia.ProductMRExperience/files/UnityCache/Shared
- Select the next 2 subfolders (I suspect this may be named differently, depending on the model you have selected, for me it was 42cf30d001437950e39ddd01cf053bdb/e973f81e3b74fa24f8c3d58c08d5df9d
- In this folder there will be a file, approximately 140MB in size called __data
- Right click and select Pull and select a folder on your PC.
That's it, you have obtained the Unity 3D model it needs some manipulation to be useful, you can now disconnect your device and remove the app, Don't forget to also disable USB debugging on your device.
Unity Model Manipulation
Next we are going to use a tool called AssetRipper to decode the Unity model.
- Download the tool from here: https://github.com/AssetRipper/AssetRipper/releases
- Extract and run it up, it will open up a web interface:
- Select File, Open File and open the__Data file you extracted from your device
- Selected Export, Export All Files and select a new folder to export the files to.
- Select Export All Files
Opening in Unity
- Open Unity Hub and import your model folder
- You will likely get a warning about not having the correct unity version, let it download the correct version.
- Once the model opens, you will find lots of pink rendering errors. To fix these, select all the models and change the render from "Hidden/InternalErrorShader" to "Standard" once you have done them all, you should have something like this:




Comments
Post a Comment