Error On loading skatter file in SU

**SketchUp version : 2020
Skatter version (Skatter dialog > Options > About) : 1.42
**OS : Windows 10
**Description of the issue : loading sketchup file is very longtime, then suddenly there is a message pop (attached below), then i can’t edit the skatter configuration that saved in sketchup file. (no action when i click “edit”)
Are you able to reproduce the issue every time? (If yes, how?) : every i get into that sketchup file it will pop that message and the skatter configuration that i’ve saved before is not activated (gone)
Error in Ruby Console? (Window > Ruby Console) :

Error: #<IndexError: index 268435456 too big>
C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/generate_points.rb:204:in cpp_generate_random_points' C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/generate_points.rb:204:in block in generate_points’
C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/generate_points.rb:144:in each' C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/generate_points.rb:144:in generate_points’
C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/methods.rb:875:in refresh' C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/methods.rb:716:in refresh_from_attributes’
C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/methods.rb:592:in block (2 levels) in startup' C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/methods.rb:589:in each’
C:/ProgramData/SketchUp/SketchUp 2020/SketchUp/Plugins/jbb_skatter/rb/methods.rb:589:in block in startup' c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcobservers.rbe:175:in is_online’
c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcobservers.rbe:175:in initialize' c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcobservers.rbe:1060:in new’
c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcobservers.rbe:1060:in <main>' c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcloader.rbe:16:in eval’
c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcloader.rbe:16:in require' c:/users/mm3d03/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/su_dynamiccomponents/ruby/dcloader.rbe:16:in
C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:in eval' C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:in require’
C:/Program Files/SketchUp/SketchUp 2020/Tools/extensions.rb:197:in load' C:/Users/mm3d03/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_dynamiccomponents.rb:49:in register_extension’

Could you send the file to [email protected] ?

okay, sent

Same error here with sketchup pro 2018 and skatter beta 6 os big sur…

Thanks for the file!

Ok so it looks like Skatter is trying to generate more than 200 million points during the process. This is way too much.
The error you are seeing is Ruby (the programming language used to make SketchUp extensions) saying that it cannot create more than 268,435,456 entries in a collection.

I noticed that your model is in millimeters. Is it possible that you created the Skatter setups while the model was in meters, then switched to millimeters later on?