kewur / assimp-net

Automatically exported from code.google.com/p/assimp-net
0 stars 0 forks source link

Cannot load .dae model #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I use Unity3D to run this code.
This is my code :
String apppath = Application.dataPath;
GameObject instance = Instantiate(Resources.Load("duck", typeof(GameObject))) 
as GameObject;
instance.transform.localPosition = cameraPos + new Vector3 (0, 0, 500);
String fileName = apppath+"/duck.dae";
AssimpContext importer = new AssimpContext ();
Scene model = importer.ImportFile (fileName);

2. in Problem_1 (attached file) you can see my file structur
3. in Problem_2 (attached file) you can see the error that occurs when running 
the code in Unity 3D

What is the expected output? What do you see instead?
I expect a Scene as return value but this error occurs.

What version of the product are you using? On what operating system?
Windows 7 Professional 64bit . I use the new Assimp-net code.

Please provide any additional information below.
Can someone help me? The duck.dae is a model from your sourcecode.

Original issue reported on code.google.com by Jenniile...@gmail.com on 2 May 2015 at 7:11

Attachments: