Comments (4)
I think the original error was resolved in glTFast 6.2.0, which was released yesterday. Feel free to give it a try and report any issues.
With regards to asmdefs, the best practice is to put your own code into an asmdef as well and reference any dependencies explicitely. That should keep compile times (and thus iteration time) short and there are no surprisingly linked libraries. See the docs for details.
from gltfast.
After diving a bit into the package, I noticed, that autoReferenced
should be set to true
in the asmdef.
At least it seems to solve my issues.
from gltfast.
Hi @daniel1v ,
Glad you found a solution! I'm hesitant to enable autoReference. Imho references should be set explicitely to give devs full control. I'm aware that this is not consistent within glTF....legacy was carried on for now. At some point all asmdefs shoud not be auto referenced.
Thanks.
from gltfast.
Hi @atteneder,
thank you for your reply. I'm not sure if this is a general solution for the issue, because I had to move the package and edit its contents. So it is more a workaround I think and I fear this leads to issues when the package is updated.
Is there a recommended way to solve this, without editing contents of the package? My unity knowledge is limited, so maybe I have overseen something obvious?
from gltfast.
Related Issues (20)
- When will Apple Vision OS be supported? HOT 2
- Asynchonous methods to not have Async suffix HOT 1
- Apple Vision OS support HOT 29
- Under Android platform, the gltf model that loads local files will have the wrong path.
- Unity material support is lacking - URP needs to be supported HOT 1
- Draco Package not found in Unity Editor HOT 2
- Incorrect rendering on Android for bigger models HOT 1
- Error Cloning Repository - LFT Over Quota HOT 3
- Material Appearance Discrepancy between Windows and Android on glTFast HOT 2
- Derived GameObjectInstantiator classes cannot fire base events
- Use Mesh.SetBindposes
- Material color changes slightly during export
- Unable to load GLTF model with WEBP texture in Android / IOS builds
- When loading a glb file, the colors of the materials are changed upon loading. HOT 1
- Emission doesn't seem to work in URP with glTF-PBR shaders
- how to load multiple Models on URL?
- Freeze frame during runtime loading in Android
- Android exception upon instantiation: Object reference not set to an instance of an object. HOT 1
- Support for mesh primitive modes `LINE_LOOP`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltfast.