Itoo Software Forum

Author Topic: Forest Crash on save  (Read 601 times)

Davius

  • Newbie
  • *
  • Posts: 2
Forest Crash on save
« on: October 20, 2021, 07:10:59 PM »
I have a file that I'm working on that every time I create a forest object and press CTRL+S to save the file, Max crashes instantly.

If I don't create any forest object, and just keep working, everything is fine. I can save, save as, reset, load.

But if I create a forest object and try to save. Crash. See attached video for example.

I can share the scene (but only for a developer).

Max 2021 and Forest 7.1.2

Cheers.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Forest Crash on save
« Reply #1 on: October 21, 2021, 08:07:14 AM »
Please send us the minidump file generated on crash. It helps us to identify the problem.

If possible, scene the scene as well. You can send both privately as described here.
Carlos Quintero
iToo Software

Davius

  • Newbie
  • *
  • Posts: 2
Re: Forest Crash on save
« Reply #2 on: October 21, 2021, 04:00:55 PM »
Hey Carlos! Thanks for the reply.

Here's the minidump

I'll send a link to that email to the file and associated assets.

Cheers

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Forest Crash on save
« Reply #3 on: October 22, 2021, 10:33:49 AM »
Hi, thanks for the files.

We tried in a couple of workstations, but could not reproduce the problem using your scene.
It could be caused by something specific to your configuration (i.e. we have not TyFlow)

Anyway, checking the minidump, i see it crashes in a process used to clean the Forest template layer, when scene is saved.
For some reason, Max is sending a null reference to the plugin. Theorically this should not happen.

So i added a checking in the code, to handle this null reference and avoid the crash.
I will send you a custom patch by e-mail. I hope it works.

Carlos Quintero
iToo Software