Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Infinite loading #36

Closed
Fr0zka opened this issue Feb 8, 2021 · 7 comments
Closed

Infinite loading #36

Fr0zka opened this issue Feb 8, 2021 · 7 comments
Assignees
Labels
Milestone

Comments

@Fr0zka
Copy link

Fr0zka commented Feb 8, 2021

Hey i've tried to load a glTF file with your plugin, everything seemed to work properly, but now its been ~ 10 minute and its still stuck on
Sans titre

is it normal ? :c (my glTF is about ~600mb)

(ue4 4.26.1 and your latest plugin version)

(after 20~ minute i've tried with a .gltf instead of .glb, this time, unreal crashed after few seconds)

@jixingcn
Copy link
Contributor

jixingcn commented Feb 9, 2021

@Fr0zka Yes, it's a bug.
Can you send the log to me or describe the content of your glTF file? You can find log files in the [YourProject]\Saved\Logs folder.
Or you can share the glTF file. Let me check.

@jixingcn jixingcn added the bug label Feb 9, 2021
@Fr0zka
Copy link
Author

Fr0zka commented Feb 9, 2021

I'm uploading the .gltf file right now, but there is the log for now ^^'

Hide.log

(i created the .gltf using blender of a map chunk from https://wow.tools/export/)
(edit: there is the link for the .gltf -> https://mega.nz/file/RLoy1ZCQ#NwHT1i_-0SH-2bFrXnXncQ71p3boIrRtoy6_sm2b1bg )

@jixingcn
Copy link
Contributor

jixingcn commented Feb 9, 2021

@Fr0zka Ok, I got. Give me time to check.

@jixingcn
Copy link
Contributor

jixingcn commented Feb 9, 2021

Ok, I know the reason. The glTF file contains about 3000+ objects. For each asset, it will recalculate the md5 value that is generated by the glTF file. The glTF is too big to spend about 0.5 seconds to calculate the MD5 value. So it does that about 3000+ times 😵 , it will cost about 20 mins 😢 (also depend on your machine).

And I import it after I fix it and cost about 6 mins 😃 on my laptop in the debug mode.

image

I will fix it in the next version 2.0.6.

@jixingcn jixingcn added this to the 2.0.6 milestone Feb 9, 2021
@jixingcn
Copy link
Contributor

jixingcn commented Feb 9, 2021

@Fr0zka the unreal crash when importing the glb file? Can you share the glb file?

@Fr0zka
Copy link
Author

Fr0zka commented Feb 9, 2021

Ooohh nice ^^ can't wait for this next update, and i think unreal crashed because i had not enought free ram when i tried.
It never crashed again when trying to load glb/glbf o:

(+ i see that every object have the right position on map o: i'm pretty hyped)

@jixingcn
Copy link
Contributor

jixingcn commented Feb 9, 2021

@Fr0zka Ok, now you can download the new version. It was deployed to itch.io.

@jixingcn jixingcn closed this as completed Feb 9, 2021
@jixingcn jixingcn mentioned this issue Feb 9, 2021
@jixingcn jixingcn self-assigned this May 28, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants