11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
显示 1 - 10 of 130
用户评论
排序
m
Very Good!
a month ago
meepalasheep_unity基于版本2.02
Good asset! Using it for my game and UGC stuff!
这条评论是否有帮助?
0
0
L
Works fine. Android require some work.
7 months ago
LaserJaguar基于版本2.02
Works fine, sometimes objects are mirrored.
To run it on Android - you first need to have correct path to the file, which may be a problem because there are two different types of paths - one starts with:
1. content://com.android.externalstorage.documents...
and the other is:
2. /storage/emulated/<userid>/Android/data...
So you have to keep an eye on it, check correctness with debug. If you know the correct "/storage/..." path - you cool, just use it. However modern Android philosophy preferred the first one and most likely you will get it.
If you are using Runtime File Browser asset from the store - you will get the first type of path to the file. To make it work you have to parse it into second or create your own stream with Runtime File Browser helpers. Let's say path is objPath, then:
byte[] fileBytes = FileBrowserHelpers.ReadBytesFromFile(objPath);
Stream stream = new MemoryStream(fileBytes);
GameObject loadedObject = new OBJLoader().Load(stream);
Also you have to include Standard (Specular setup) shader into project settings->Graphics->always included shaders but this will increase build time and apk size, so it is better to create simplest possible shader for your render pipeline with only 1 variant and include it instead. Change shader name from "Standard (Specular setup)" to yours in OBJLoaderHelper.cs and in MTLLoader.cs
这条评论是否有帮助?
2
0
W
Works with URP
a year ago
Wompscepter基于版本2.02
Fantastic resource.
For those who are wondering how to use it with URP, go into MTLLoader.cs and switch out the "Standard (Specular setup)" shader with the "Universal Render Pipeline/Lit" shader
这条评论是否有帮助?
4
0
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持