Xcode's SceneKit editor renders .dae file's wrong and Xcode sometimes crashes during preview
I'm trying to figure out how to import .dae
files with animations into Xcode and SceneKit.
It works somewhat, but it's really buggy, I can't preview files, and Xcode sometimes crashes when trying to preview the .dae
files in Xcode.
Here's how I'm importing the animated models
- I download an animated character from Mixamo, as a Collada file, with the settings below.
- Create a brand new SceneKit iOS project, import
.dae
file, and select the file in the Xcode file list to preview it. The result can be seen below. I have zoomed all the way out to make sure I'm not just viewing the model from the inside of the mesh. The lines extend infinetly it looks like.
- If I use the ConvertToXcodeCollada workflow, and verify that the .dae XML only has one
<animation>
tag with corresponding closing tag, and then import it into Xcode, it won't open at all. See image below.
- If I import the
.dae
file version not converted using ConvertToXcodeCollada, and the add.dae
file as a sub reference in a.scn
Scene file, the model displays correctly, and the animation is playing correctly. Image below.
So how should I do this properly?
I have also tried to import animated models into Blender and then export it to Collada from there (with unstructions from tutorials on youtube), and same results. Is there a way I can do this a proper way, where it works like it should, without Xcode behaving buggy? It would be easier if I could actually preview and edit materials etc of the .dae
files directly, without having to always add them to an existing .scn
Scene Kit Scene.
ios xcode scenekit collada
add a comment |
I'm trying to figure out how to import .dae
files with animations into Xcode and SceneKit.
It works somewhat, but it's really buggy, I can't preview files, and Xcode sometimes crashes when trying to preview the .dae
files in Xcode.
Here's how I'm importing the animated models
- I download an animated character from Mixamo, as a Collada file, with the settings below.
- Create a brand new SceneKit iOS project, import
.dae
file, and select the file in the Xcode file list to preview it. The result can be seen below. I have zoomed all the way out to make sure I'm not just viewing the model from the inside of the mesh. The lines extend infinetly it looks like.
- If I use the ConvertToXcodeCollada workflow, and verify that the .dae XML only has one
<animation>
tag with corresponding closing tag, and then import it into Xcode, it won't open at all. See image below.
- If I import the
.dae
file version not converted using ConvertToXcodeCollada, and the add.dae
file as a sub reference in a.scn
Scene file, the model displays correctly, and the animation is playing correctly. Image below.
So how should I do this properly?
I have also tried to import animated models into Blender and then export it to Collada from there (with unstructions from tutorials on youtube), and same results. Is there a way I can do this a proper way, where it works like it should, without Xcode behaving buggy? It would be easier if I could actually preview and edit materials etc of the .dae
files directly, without having to always add them to an existing .scn
Scene Kit Scene.
ios xcode scenekit collada
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Share your project
– ktr kathir
Dec 14 '18 at 6:16
add a comment |
I'm trying to figure out how to import .dae
files with animations into Xcode and SceneKit.
It works somewhat, but it's really buggy, I can't preview files, and Xcode sometimes crashes when trying to preview the .dae
files in Xcode.
Here's how I'm importing the animated models
- I download an animated character from Mixamo, as a Collada file, with the settings below.
- Create a brand new SceneKit iOS project, import
.dae
file, and select the file in the Xcode file list to preview it. The result can be seen below. I have zoomed all the way out to make sure I'm not just viewing the model from the inside of the mesh. The lines extend infinetly it looks like.
- If I use the ConvertToXcodeCollada workflow, and verify that the .dae XML only has one
<animation>
tag with corresponding closing tag, and then import it into Xcode, it won't open at all. See image below.
- If I import the
.dae
file version not converted using ConvertToXcodeCollada, and the add.dae
file as a sub reference in a.scn
Scene file, the model displays correctly, and the animation is playing correctly. Image below.
So how should I do this properly?
I have also tried to import animated models into Blender and then export it to Collada from there (with unstructions from tutorials on youtube), and same results. Is there a way I can do this a proper way, where it works like it should, without Xcode behaving buggy? It would be easier if I could actually preview and edit materials etc of the .dae
files directly, without having to always add them to an existing .scn
Scene Kit Scene.
ios xcode scenekit collada
I'm trying to figure out how to import .dae
files with animations into Xcode and SceneKit.
It works somewhat, but it's really buggy, I can't preview files, and Xcode sometimes crashes when trying to preview the .dae
files in Xcode.
Here's how I'm importing the animated models
- I download an animated character from Mixamo, as a Collada file, with the settings below.
- Create a brand new SceneKit iOS project, import
.dae
file, and select the file in the Xcode file list to preview it. The result can be seen below. I have zoomed all the way out to make sure I'm not just viewing the model from the inside of the mesh. The lines extend infinetly it looks like.
- If I use the ConvertToXcodeCollada workflow, and verify that the .dae XML only has one
<animation>
tag with corresponding closing tag, and then import it into Xcode, it won't open at all. See image below.
- If I import the
.dae
file version not converted using ConvertToXcodeCollada, and the add.dae
file as a sub reference in a.scn
Scene file, the model displays correctly, and the animation is playing correctly. Image below.
So how should I do this properly?
I have also tried to import animated models into Blender and then export it to Collada from there (with unstructions from tutorials on youtube), and same results. Is there a way I can do this a proper way, where it works like it should, without Xcode behaving buggy? It would be easier if I could actually preview and edit materials etc of the .dae
files directly, without having to always add them to an existing .scn
Scene Kit Scene.
ios xcode scenekit collada
ios xcode scenekit collada
asked Nov 12 '18 at 10:40
eivindmleivindml
3091723
3091723
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Share your project
– ktr kathir
Dec 14 '18 at 6:16
add a comment |
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Share your project
– ktr kathir
Dec 14 '18 at 6:16
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Share your project
– ktr kathir
Dec 14 '18 at 6:16
Share your project
– ktr kathir
Dec 14 '18 at 6:16
add a comment |
3 Answers
3
active
oldest
votes
I did followed your instructions and try to load a 3D animation. Its working fine for me
In new sceneKit project I have updated my code like.
// create a new scene
let scene = SCNScene(named: "Jumping.dae")! //"art.scnassets/ship.scn")!
and this too
let ship = scene.rootNode.childNode(withName: "mixamorig_Hips", recursively: true)! // "ship"
I am using XCode 10.1 on macOS 10.13.6
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
add a comment |
This happen when I try to open in finder a .dae file with animation created with mixamo
https://www.mixamo.com/#/
mojave OS 10.14.1
BUG Fixed by apple 10.14.2
add a comment |
I have downloaded which you mentioned above link. github.com/eh3rrera/ARKitAnimation
And I opened in finder. Its working for my mac
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260427%2fxcodes-scenekit-editor-renders-dae-files-wrong-and-xcode-sometimes-crashes-du%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I did followed your instructions and try to load a 3D animation. Its working fine for me
In new sceneKit project I have updated my code like.
// create a new scene
let scene = SCNScene(named: "Jumping.dae")! //"art.scnassets/ship.scn")!
and this too
let ship = scene.rootNode.childNode(withName: "mixamorig_Hips", recursively: true)! // "ship"
I am using XCode 10.1 on macOS 10.13.6
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
add a comment |
I did followed your instructions and try to load a 3D animation. Its working fine for me
In new sceneKit project I have updated my code like.
// create a new scene
let scene = SCNScene(named: "Jumping.dae")! //"art.scnassets/ship.scn")!
and this too
let ship = scene.rootNode.childNode(withName: "mixamorig_Hips", recursively: true)! // "ship"
I am using XCode 10.1 on macOS 10.13.6
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
add a comment |
I did followed your instructions and try to load a 3D animation. Its working fine for me
In new sceneKit project I have updated my code like.
// create a new scene
let scene = SCNScene(named: "Jumping.dae")! //"art.scnassets/ship.scn")!
and this too
let ship = scene.rootNode.childNode(withName: "mixamorig_Hips", recursively: true)! // "ship"
I am using XCode 10.1 on macOS 10.13.6
I did followed your instructions and try to load a 3D animation. Its working fine for me
In new sceneKit project I have updated my code like.
// create a new scene
let scene = SCNScene(named: "Jumping.dae")! //"art.scnassets/ship.scn")!
and this too
let ship = scene.rootNode.childNode(withName: "mixamorig_Hips", recursively: true)! // "ship"
I am using XCode 10.1 on macOS 10.13.6
edited Dec 14 '18 at 7:29
piet.t
9,97063245
9,97063245
answered Dec 14 '18 at 6:42
ktr kathirktr kathir
918624
918624
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
add a comment |
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
Please can you open this project and verify the file .dae is shown correctly? github.com/eh3rrera/ARKitAnimation
– Fabio
Dec 14 '18 at 17:59
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
I downloaded .dae files with mixamo these files with animations but and when I try to open with finder it looks weird, like the image 2 in this post
– Fabio
Dec 14 '18 at 18:04
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
Also when I try to open with finder it looks weird, like the image 2 in this post. Can you please share your project or .dae file to try to open with finder or Xcode
– Fabio
Dec 14 '18 at 18:23
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
You can try this on macOS high seira
– ktr kathir
Dec 15 '18 at 2:00
1
1
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
bug bixed by apple OS 10.14.2 👍🏻
– Fabio
Dec 15 '18 at 19:21
add a comment |
This happen when I try to open in finder a .dae file with animation created with mixamo
https://www.mixamo.com/#/
mojave OS 10.14.1
BUG Fixed by apple 10.14.2
add a comment |
This happen when I try to open in finder a .dae file with animation created with mixamo
https://www.mixamo.com/#/
mojave OS 10.14.1
BUG Fixed by apple 10.14.2
add a comment |
This happen when I try to open in finder a .dae file with animation created with mixamo
https://www.mixamo.com/#/
mojave OS 10.14.1
BUG Fixed by apple 10.14.2
This happen when I try to open in finder a .dae file with animation created with mixamo
https://www.mixamo.com/#/
mojave OS 10.14.1
BUG Fixed by apple 10.14.2
edited Dec 16 '18 at 1:34
answered Dec 14 '18 at 18:06
FabioFabio
85852152
85852152
add a comment |
add a comment |
I have downloaded which you mentioned above link. github.com/eh3rrera/ARKitAnimation
And I opened in finder. Its working for my mac
add a comment |
I have downloaded which you mentioned above link. github.com/eh3rrera/ARKitAnimation
And I opened in finder. Its working for my mac
add a comment |
I have downloaded which you mentioned above link. github.com/eh3rrera/ARKitAnimation
And I opened in finder. Its working for my mac
I have downloaded which you mentioned above link. github.com/eh3rrera/ARKitAnimation
And I opened in finder. Its working for my mac
answered Dec 17 '18 at 7:58
ktr kathirktr kathir
918624
918624
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53260427%2fxcodes-scenekit-editor-renders-dae-files-wrong-and-xcode-sometimes-crashes-du%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I'm experiencing the same problem on Mac OS Mohave 10.14.1, Xcode 10.1. Seems like an Xcode or system bug - I've checked previous .dae files which definitely worked correctly in the past and the same problem happens also for them. I'm experiencing system crashes (necessary to do hard reset of OS) quite often now when browsing these collada files in Xcode. This happened from time to time in the past, however, on Xcode level only, not affecting the entire OS.
– mazzino
Nov 26 '18 at 16:30
Yeah. And the SceneKit Editor uses so much resources. It's super slow for only one single model with a simple mesh. This is on a top spec 2018 Macbook Pro.
– eivindml
Nov 26 '18 at 17:20
Share your project
– ktr kathir
Dec 14 '18 at 6:16