Comments (3)
Having the exact same problem. Tested both FBX and DAE getting it from both.
NullReferenceException: Object reference not set to an instance of an object (wrapper stelemref) object:stelemref (object,intptr,object) System.String.Format (System.String format, System.Object arg0, System.Object arg1, System.Object arg2) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:1863) Assimp.Material.CreateFullyQualifiedName (System.String baseName, TextureType texType, Int32 texIndex) Assimp.MaterialProperty.get_FullyQualifiedName () Assimp.Material.AddProperty (Assimp.MaterialProperty matProp) Assimp.Material.Assimp.IMarshalable<Assimp.Material,Assimp.Unmanaged.AiMaterial>.FromNative (Assimp.Unmanaged.AiMaterial& nativeValue) Assimp.MemoryHelper.FromNativeArray[Material,AiMaterial] (IntPtr nativeArray, Int32 length, Boolean arrayOfPointers) Assimp.Scene.Assimp.IMarshalable<Assimp.Scene,Assimp.Unmanaged.AiScene>.FromNative (Assimp.Unmanaged.AiScene& nativeValue) Assimp.MemoryHelper.FromNativePointer[Scene,AiScene] (IntPtr ptr) Assimp.Scene.FromUnmanagedScene (IntPtr scenePtr) Assimp.AssimpContext.ImportFile (System.String file, PostProcessSteps postProcessFlags) Entities.Player.Player.Start () (at Assets/Scripts/Entities/Player/Player.cs:94)
from assimp-net.
@kewur ,
we got rid off the exception by using assimp-net version 3.0 and the latest version for assimp.
from assimp-net.
@ruzannakamalyan
Thanks, that's exactly what I did but I'm using 3.2 instead.
from assimp-net.
Related Issues (20)
- Help with scene creation HOT 1
- Custom IO System doesnt work when Importing from stream HOT 2
- blender 2.7.9 .obj file has blank names. (using 3.3.1 Release) HOT 1
- Problem importing OBJ files (probably assimp problem, not assimpNet)
- Is there a EmbededTexture property from which I can get the texture image reference ? HOT 2
- Sample uses GL.Begin/GL.End
- exceptions when reading ifc files.
- Observed incorrect DurationInTicks when loading .GLB models.
- New version needed HOT 3
- IMPORT_COLLADA_USE_COLLADA_NAMES
- Error when importing assembly stream
- I get an error when I try to build
- I got problem with serialization
- Indices not in a multiple of three
- Exploded ifc in example project
- AssimpContext.ExportFile broken HOT 3
- Issue with glb2 export
- Wierd/Wrong import of COLLADA (.dae ) files
- ApplyPostProcessing after Scene.ToUnmanagedScene() returns IntPtr.Zero
- How can I get texture data HOT 1
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 assimp-net.