Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Blender crashing upon exporting #4

Open
Pimsy8and8 opened this issue Nov 5, 2024 · 15 comments
Open

Blender crashing upon exporting #4

Pimsy8and8 opened this issue Nov 5, 2024 · 15 comments

Comments

@Pimsy8and8
Copy link

Hello Amorgun,

I'm trying to replace a model on Dawn of War and I followed your guide to the best of my ability but when I go and export the model to whm, my blender crashes. Is there more that I'm supposed to do with the model? I reduced the polygon count to 8k vertices roughly and I merged all the materials into one atlas. If you'd like to get back to me, I'm on discord at pimsy#4157.

@amorgun
Copy link
Owner

amorgun commented Nov 5, 2024

It's a known issue caused by drewcassidy/quicktex#43
For now you can either unset the "Convert textures" checkbox during the export dialogue or install the alpha version: https://github.com/amorgun/blender_dow/releases/tag/v0.14alpha3

@Pimsy8and8
Copy link
Author

image_2024-11-05_192457107
This is the furthest i've gotten with modding. Just need a bit more of a push with this.

@amorgun
Copy link
Owner

amorgun commented Nov 6, 2024

@mikek7299
Copy link

Hi, Аmorgun!

Could you please tell me what the final path to the Mod Folder should look like? Blender says "The mod folder is probably not set up correctly. It must be a directory containing a 'data' subdirectory."

I've tried different options, but nothing has changed.

I think this might be causing Blender to crash when importing a model.

@amorgun
Copy link
Owner

amorgun commented Dec 6, 2024

Could you please tell me what the final path to the Mod Folder should look like? Blender says "The mod folder is probably not set up correctly. It must be a directory containing a 'data' subdirectory."

Usually it's a folder inside your Soulstorm installation if you have your mod installed and working in the game, e.g. C:\Program Files\Dawn of War Soulstorm\My_Mod or C:\Program Files\Dawn of War Soulstorm\DXP2 for the default Soulstorm data.

@mikek7299
Copy link

Could you please tell me what the final path to the Mod Folder should look like? Blender says "The mod folder is probably not set up correctly. It must be a directory containing a 'data' subdirectory."

Usually it's a folder inside your Soulstorm installation if you have your mod installed and working in the game, e.g. C:\Program Files\Dawn of War Soulstorm\My_Mod or C:\Program Files\Dawn of War Soulstorm\DXP2 for the default Soulstorm data.

Thank you, that worked.
The warning disappeared, but the issue with the crash during import remains. Do you have any idea what the problem might be?

Blender version 4.3

@amorgun
Copy link
Owner

amorgun commented Dec 6, 2024

That's odd.
I'll need some more details to investigate it:

  • What addon version you are using?
  • Describe the exact steps you are taking. Screencast would be even better.
  • Attach here the whm file you are trying to import.
  • Find blender crash log and attach it here as well.

@mikek7299
Copy link

  • Addon version 0.14.0 - alpha13

  • I am attaching screenshots of the add-on settings and my actions for importing. Next, I select the WHM file and then Blender closes, after 10-15 seconds.
    1
    2

  • It's a model of primaris_intercessor from Unification Mod. Should I also upload the texture files?
    модели для редактирования.zip

  • Here is the Blender crash log (I hope I found it correctly).
    blender.crash.txt

@amorgun
Copy link
Owner

amorgun commented Dec 6, 2024

Yes, the textures would be useful.
Also try disabling GPU Rendering and see if the model loads fine.

@mikek7299
Copy link

mikek7299 commented Dec 6, 2024

The 'Cycles render devices' settings are set like this. As far as I understand, in my case, GPU rendering is not even enabled.
3

The textures are attached
текстуры.zip

@amorgun
Copy link
Owner

amorgun commented Dec 6, 2024

The textures are attached

It looks like you posted the comment before the textures had finished uploading.

@mikek7299
Copy link

mikek7299 commented Dec 6, 2024

текстуры.zip
Oh, i'm sorry, I didn't notice. I got this fixed.

@amorgun
Copy link
Owner

amorgun commented Dec 6, 2024

Check if you can open this as a .blend file
primaris_intercessor.zip

@mikek7299
Copy link

It still crashing, here is the crash log
primaris_intercessor.crash.txt

@amorgun
Copy link
Owner

amorgun commented Dec 7, 2024

That means it's a blender problem and not the DoW addon bug.
Here are a few tips:

  • Ensure you are not running out of memory as described here
  • The log says the crash occurs on GPU_shader_get_ssbo_binding so try updating your GPU drivers. Here are a few other issues with a similar problem: 1 2
  • If the crash still persists open the issue for blender. Click Help -> Report a Bug, describe that blender crashes when opening a blend file and attach your latest crash log. I'd also appreciate it if you could post a link to the blender issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants