Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

CodyBDrawin'
Posts: 42
Joined: Sat Apr 02, 2022 7:23 am

Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by CodyBDrawin' »

The title pretty much sums it up, but to give more details, whenever I have a decently complex character with shading effects, or masking, or strokes with brush effects, line boils, image textures; basically anything and everything that isn't a basic shape with a fill and stroke and no special effects, it'll crash whenever I try to select it with Alt+Right Click, or do it manually with the Select Layer tool. It slows my work down to a crawl, which is extremely obnoxious and I would like some guidance on how to fix this.

Pictured below are all of the scripts I currently have installed (some of which I've had since Moho 12.5, mind you), just in the event that any of those are or could be causing the issue (and also, if there are better, more advanced or modern versions of the ones I have, please don't hesitate to tell me - I would actually very much appreciate it).

Image
Image

There's also an additional script I recently added that collapses all open groups, but I added that one after this problem became prominent and I can't imagine it would cause issues.

If anyone can help me out here, it would be hugely appreciated. :)
User avatar
Greenlaw
Posts: 10396
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by Greenlaw »

Selecting layers from the Working Aread is stable here, so it's probably something in your system. Like you, I suspect an incompatible third-party script. Here's how to test for that...

Close Moho and create a new folder in the Tool folder of your custom content folder. Call the folder something like Inactive. Move all your script files to it.

When you launch Moho, the third-party tools should be gone because Moho will not load tool files from a nested folder. Now test Moho for a crash. If It still crashes, then the problem is something else. But if It does not crash, then you know the problem is likely with one of the third-party tools.

Drag the script files for one of the tools back into the main Tool folder. In Moho, press Ctrl+Shift+Alt+L to load the tool script. Now test again for the crash. If Moho doesn't crash, then you know this script is probably fine.

Repeat until you find the offending tool. If you find a tool that crashes Moho, remove it. Continue testing the remaining scripts.

Hope this helps.
User avatar
hayasidist
Posts: 3839
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by hayasidist »

I'm assuming this is not limited to just one .moho file and so we can rule out anything in a specific file. If that's a bad assumption, please say.

The screen snapshot doesn't show which version of the tools you have (or the version of moho that was current when the tools were developed) -- and you have some (I presume) user-modified versions of the factory tools.

The factory tools often make calls on functions within other factory tools, so the first thing I'd do is along the lines that Greenlaw has suggested but as a preliminary step, I'd remove all the lm_ tools from your custom folder (copy them somewhere safe away from the custom script directory rather than delete them). Also: check the utilities folder and the menu folders just in case there are lm_ tool clones lurking there...

If that doesn't prevent the problem, then go through all the user scripts as Greenlaw suggests - including utilities and menu.
CodyBDrawin'
Posts: 42
Joined: Sat Apr 02, 2022 7:23 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by CodyBDrawin' »

Greenlaw wrote: Mon Aug 05, 2024 5:34 pm Selecting layers from the Working Aread is stable here, so it's probably something in your system. Like you, I suspect an incompatible third-party script. Here's how to test for that...

Close Moho and create a new folder in the Tool folder of your custom content folder. Call the folder something like Inactive. Move all your script files to it.

When you launch Moho, the third-party tools should be gone because Moho will not load tool files from a nested folder. Now test Moho for a crash. If It still crashes, then the problem is something else. But if It does not crash, then you know the problem is likely with one of the third-party tools.

Drag the script files for one of the tools back into the main Tool folder. In Moho, press Ctrl+Shift+Alt+L to load the tool script. Now test again for the crash. If Moho doesn't crash, then you know this script is probably fine.

Repeat until you find the offending tool. If you find a tool that crashes Moho, remove it. Continue testing the remaining scripts.

Hope this helps.
I put every tool in my tool folder in a nested folder, then launched Moho. That doesn't appear to be the problem, since it still crashed when I Alt+Right Clicked on a random layer in my project file.
hayasidist wrote: Mon Aug 05, 2024 7:39 pm I'm assuming this is not limited to just one .moho file and so we can rule out anything in a specific file. If that's a bad assumption, please say.

The screen snapshot doesn't show which version of the tools you have (or the version of moho that was current when the tools were developed) -- and you have some (I presume) user-modified versions of the factory tools.

The factory tools often make calls on functions within other factory tools, so the first thing I'd do is along the lines that Greenlaw has suggested but as a preliminary step, I'd remove all the lm_ tools from your custom folder (copy them somewhere safe away from the custom script directory rather than delete them). Also: check the utilities folder and the menu folders just in case there are lm_ tool clones lurking there...

If that doesn't prevent the problem, then go through all the user scripts as Greenlaw suggests - including utilities and menu.
No, your assumption is correct - kind of. It's done this for more than one project file, but only for ones that have effects like those I described. I also looked for "lm_" tools in the two additional folders, but there's nothing there. The only lm_ tools I have are the ones in the tools folder, and also, like you mentioned, I don't know the exact versions, other than the fact that I downloaded some of them like the DKW Tools in 2019 or so.

The only two things I can think of beyond an issue with scripts (whether that's with or without them) is to either send a project file over for inspection, or, worst case scenario, reinstall Moho altogether (or some other third solution). What do you (both of you and anyone else) think I should do?
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by SimplSam »

So... there is an outstanding issue with Tiled Image Textures and Layer Selector [J302]. If you are using Tiled Image Textures in your project/s then that might be the cause. A quick-fix, would be to disable the tiling effect on your image textures.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
CodyBDrawin'
Posts: 42
Joined: Sat Apr 02, 2022 7:23 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by CodyBDrawin' »

SimplSam wrote: Tue Aug 06, 2024 8:21 am So... there is an outstanding issue with Tiled Image Textures and Layer Selector [J302]. If you are using Tiled Image Textures in your project/s then that might be the cause. A quick-fix, would be to disable the tiling effect on your image textures.
I don't have that enabled for this particular project - I have quite a bit of masking going on, with effects like shaded layers, but no image textures.
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by SimplSam »

OK... then best you create a slimmed down project file, that has the issue - then you can share that to be investigated.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
CodyBDrawin'
Posts: 42
Joined: Sat Apr 02, 2022 7:23 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by CodyBDrawin' »

https://drive.google.com/file/d/11U3i6l ... sp=sharing

Hopefully this link to the project file works. If it doesn't, let me know and I'll try again.
User avatar
hayasidist
Posts: 3839
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by hayasidist »

that file seems ok here -- was there a particular layer / group that caused the crash?
CodyBDrawin'
Posts: 42
Joined: Sat Apr 02, 2022 7:23 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by CodyBDrawin' »

It was whenever I was selecting (with the two means in the thread title, not selecting it in the list) a layer with a bunch of effects or properties (layers like her armor, which have shading, masking, and a camo pattern with a brush/texture/stroke).

I'll also note that interestingly, lately (as in very recently), it hasn't done that, but please trust me when I say that it'd been a routine occurrence the past few days, and it has happened in the past with a similar rig that had a bunch of similar stuff going on.
User avatar
hayasidist
Posts: 3839
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by hayasidist »

CodyBDrawin' wrote: Wed Aug 07, 2024 11:54 pm It was whenever I was selecting (with the two means in the thread title, not selecting it in the list) a layer with a bunch of effects or properties (layers like her armor, which have shading, masking, and a camo pattern with a brush/texture/stroke).

I'll also note that interestingly, lately (as in very recently), it hasn't done that, but please trust me when I say that it'd been a routine occurrence the past few days, and it has happened in the past with a similar rig that had a bunch of similar stuff going on.
There's another thread viewtopic.php?t=37300 with what seems to be a similar issue that also "has gone away". My best guess with that one was that there was something "not right" with the way that the path to an image texture was being resolved -- but no idea why or how. Whilst you don't seem to have any image textures, I'm wondering if you did have some other file reference that has now been superseded or deleted??? Whatever - if a crash in similar circumstances happens again, don't wait - just upload (or PM if you prefer) the file ...
roberto13
Posts: 33
Joined: Sun Jul 28, 2024 9:55 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by roberto13 »

I had the same crash problem with Alt/ right click layer selection. Annoyed me for weeks!
Lots of tiled textures in my scene, so for a test i shrinked all texture files to 1 pixel each, deleted all masks, reduced points to absolute minimum without any success.

in the end i found, that a soft charcoal brush stroke for coloring my characters cheeks and parts of the skin slightly red caused all the trouble.
The crash occured only in the wider area of the stroke when i Alt/ right clicked above it. I deleted the stroke and Alt/ right click worked like a charm again.
User avatar
Greenlaw
Posts: 10396
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by Greenlaw »

That's interesting. So, just to be sure, the problem wasn't the Charcoal brush by itself, but the deleted stroke using this brush? In other words, are other parts of your drawing using this brush without issue?

Thanks for any reply and for sharing your experience!
roberto13
Posts: 33
Joined: Sun Jul 28, 2024 9:55 am

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by roberto13 »

Ok, i back checked it on another computer today ryzen 3700x, 64GB ram, GTX 1070 (the first computer was a surface pro 2017 with 8GB ram)
same results!
if i hover the curser over a layer with a big soft stroke on it and Alt right click on it, moho crashes 100%
But only in the region of the stroke, outside the stroke no problems.

i found, that i dont have to delete the stroke layer, its ok when the layer is clicked invisible and everything works again.
User avatar
Greenlaw
Posts: 10396
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Moho 14.2 crashes whenever I Alt+Right Click or use the layer selector tool

Post by Greenlaw »

Is it a specific brush, or any brush?

If it's a specific brush, I suspect there's something about this brush file Moho doesn't like, or it's corrupted. If it happens with any brush, then it might be a bug.

Can you upload an example for someone to check out?
Post Reply