Itoo Software Forum

Author Topic: FIXED : Crash with forestPro (and multitexture)  (Read 216 times)

ben_img

  • Newbie
  • *
  • Posts: 20
FIXED : Crash with forestPro (and multitexture)
« on: September 24, 2020, 12:04:40 PM »
Hi,

We continue experiencing crash when working with ForestPro using Path mode. (not sure it's the reason, but both forest using Path mode in one scene seem to be causing crash, whereas the others don't)
in 3dsmax 2020 (service pack or not), that was not crashing in max 2014 before we updated all our licenses.
And forest 6.2.2

If opening the maxfile again it crashes (on different computer we tried)
If merging, we get a warning in the script listener as follow, why is forestpro linked with massFX and ragdoll business ?! :


-- MAXScript Callback script Exception:
-- Known system exception
-- ########################################################################
-- Address: 0x8dc6a641; nCode: 0x00000000C0000005
-- Desc: EXCEPTION_ACCESS_VIOLATION The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
--       Read of Address: 0x0000000000000000
-- ########################################################################
-- MAXScript callstack:
--   thread data: threadID:14956
--   ------------------------------------------------------
--   [stack level: 0]
--   In px_syncRagdollList(); filename: C:\Program Files\Autodesk\3ds Max 2020\stdplugs\stdscripts\(MassFX)\px_watcher.ms; position: 7834; line: 303
--      Locals:
--         t: $Forest:Forest arbres @ [-899.991516,3734.076172,-0.001404]
--      Externals:
--         PxRagdollList: Global:PxRagdollList : #()
--         owner: undefined

--   ------------------------------------------------------
--   [stack level: 1]
--   called from anonymous codeblock
--      Locals:
--      Externals:
--         px_syncRagdollList: Global:px_syncRagdollList : px_syncRagdollList()
--   ------------------------------------------------------
--   [stack level: 2]
--   called from top-level
-- ########################################################################
-- C++ callstack:
-- (3dsmax): (filename not available): MaxSDK::PointCloud::UBytePoint4::operator=
-- (3dsmax): (filename not available): ResourceManager::__autoclassinit2
-- (MAXScrpt): (filename not available): InvalidateNodeRect
-- (MAXScrpt): (filename not available): Generic::apply
[... and so on ...]



Please find attached a max file with a ground, spline, object and forest :
http://benobro.org/sub/test02.7z - 18mo

kind regards
-ben
« Last Edit: September 24, 2020, 02:45:30 PM by BT4220 »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2669
    • iToo
Re: Crash with forestPro using Path
« Reply #1 on: September 24, 2020, 02:18:52 PM »
Hi Ben.

Thank You for attached scene. Our tests reveled that it is related to multitexture plugin.

To fix this scene please temporarily remove multitexture dll. Restart Max and load the scene. It will complain about the missing plugins.

Use this script to remove missing plugins:


Scene stills performs sluggish, at least here. To clean it further use this prune script to remove garbage (14MB of residue stuff):


Save. You can put back multitexture dll to plugins folder and load the max file.

This involves ForestPack but it does not seem to be the culprit here. Even crash dumps do not point to ForestPack dlls.

Hope this helps.


« Last Edit: September 24, 2020, 02:21:15 PM by Rokas »
Rokas
iToo Software

ben_img

  • Newbie
  • *
  • Posts: 20
Re: Crash with forestPro using Path
« Reply #2 on: September 24, 2020, 02:35:52 PM »
Thanks a lot for the quick reply!

I did a prune but didn't change much, so i didn't "prune it" before uploading :p

We'll have a look :)

-edit: it works indeed. Super weird. But good to know rather than redoing all the forestPro from scratch !
i edited the name of the thread as well
thanks a lot for your help
« Last Edit: September 24, 2020, 02:51:29 PM by BT4220 »