Snapping helper plugin

Hello.
This is very useful information, thank you very much.
I will check this case asap.

I checked the case you described and was able to catch the crash.
I made changes to the tool, and version 1.40 will no longer crash.
Thanks again for the information.

Hi there! Great plugin.

Sadly, I keep getting crashes whenever I try to snap. It only seems to happen when I’m using the plugin in a map that contains a landscape. I’ve tried to disable Nanite for the landscape, but it didn’t work.

Here’s my error message:

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\RocketSync\5.3.0-27405482+++UE5+Release-5.3\Working\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771] Array index out of bounds: 0 from an array of size 0

UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_UnrealEd
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Thanks in advance!

Hello.
Thanks for your report.
Sad to hear that you are experiencing crashes.
Let me check the case you described and I will try to fix the crash.

Hey there! Thanks for answering. Did you manage to fix the crash?

Hi.
I tested the tool in scene with landscape , but I couldn’t get a crash.
I’ll try again and write if I can fix the problem.

There is a bug when compiling for Linux which causes a null pointer exception.

The fix for this is to modify the file SnappingHelperCommands.cpp changing line 9 from #if PLATFORM_WINDOWS to #if PLATFORM_WINDOWS || PLATFORM_LINUX

1 Like

Hello. Thanks for the find.
I will post an update to the plugin as soon as FAB starts working.

Hi Master how are you ? please 5.5 it should be only a button

Hello.
I will upload the new version to Fab today and once approved it will be available.

Hi there, this is a great plugin, thank you!

I did have a question on being able to adjust the depth of where it’s reading the mouse pointer. We have a fairly large scene and when the camera is pointed down or in specific directions, it will see the mesh I’m trying to use, usually closer to the camera. However, sometimes when I’m not pointed down, it’ll pick up meshes in the distance or around the mesh I’m trying to use. I’ve attached a screenshot demonstrating the issue. I’m trying to get the points on the middle bar but it’s only picking up the points on the meshes around it. And they are all fairly close to the camera. I adjusted the distance from camera and it won’t pick up the distant meshes which helps but it’s still doing this sometimes even if all the meshes are fairly close to the camera. Just looking for some advice. Thanks!

Hello.
Thank you for your question. It would be a great help if you could record a video of the problem. From the screenshot I don’t quite understand why the tool doesn’t find vertices next to the mouse cursor. In that case I can create a similar scene and reproduce the problem and probably find a solution.
Send the video to 3dwad.htc@gmail.com
Thank you.

1 Like

Hello! I often use your Snapping Helper tool – it’s very useful and has saved me a lot of time. I’m also trying to develop my own tools for personal use, and I wanted to ask: could you please explain how you managed to add control buttons to the viewport toolbar (the 3D/2D switch)?

Hello. Thank you for question. Answered in Discord.

2 Likes

im trying the Snapping plugin in UE5.5.3 and ask to build all thhe time! why?

Hi. Sorry to hear you’re having this issue. I couldn’t reproduce it myself. It looks like it’s some incorrectly cached data.
Could you try uninstalling the plugin via the Epic Games Launcher and then reinstalling it?

hi … I fix it thank you !

1 Like