#829: MapMagic 2
Status: To-do
  1. I tried. Same error (see attachment)

    I tried. Same error: ```Thread failed: System.OutOfMemoryException: Out of memory at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int) at System.Collections.Generic.List1[T].set_Capacity (System.Int32 value) [0x00021] in <307f99c6ca41457e88f875b482781fa7>:0 at System.Collections.Generic.List1[T].EnsureCapacity (System.Int32 min) [0x00036] in <307f99c6ca41457e88f875b482781fa7>:0 at System.Collections.Generic.List`1[T].AddWithResize (T item) [0x00007] in <307f99c6ca41457e88f875b482781fa7>:0 at Den.Tools.Splines.Line.CutSegmentsForWeld (Den.Tools.Splines.Line line2, System.Single threshold) [0x001f0] in <4896f80a4ea44ce6922361dc67b92151>:0

    Expand

    message.txt4 KB

  2. foscoalma 21/05/2024 17:06

    Any other recommendation on it @Denis ? Or advice how to prevent it? Or am i doing something wrong? This is a real deal breaker for me now, so any help on it is much appreciated 🙏

  3. Denis 21/05/2024 20:02

    To clarify: are you building dedicated server or headless client? Building it for Windows?

  4. [20:02]

    How many spline segments Weld Close node inside function recieve?

  5. @Denis

    To clarify: are you building dedicated server or headless client? Building it for Windows?

    foscoalma 21/05/2024 20:10

    File > Build settings > Dedicated Server (Windows) .. I use 2021.3.32f1

  6. @Denis

    How many spline segments Weld Close node inside function recieve?

    foscoalma 21/05/2024 20:11

    50 if I am right

    Image

  7. Denis 21/05/2024 20:12

    I mean how many splines are there in scene? How dense is the spline network?

  8. foscoalma 21/05/2024 20:12

    not much.. like 3 or 4 POIs are connected with 1-2 paths, within one Tile

  9. [20:13]

    tiles count is variable from 9 to 121 .. but this error shows up on generating 25th tile (edited)

### Denis 21/05/2024 20:14

and it's dedicated server only, non-dedicated build works fine with the same tile?

### foscoalma 21/05/2024 20:15

regular builds work fine with the same Graph. this happens only for Dedicated Server builds

  1. [20:16]

I noticed that one seed fails to generate even in regular build, with similar error:

I noticed that one seed fails to generate even in regular build, with similar error: ```Thread failed: System.OutOfMemoryException: Out of memory at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int) at System.Collections.Generic.List1[T].set_Capacity (System.Int32 value) [0x00021] in <307f99c6ca41457e88f875b482781fa7>:0 at System.Collections.Generic.List1[T].EnsureCapacity (System.Int32 min) [0x00036] in <307f99c6ca41457e88f875b482781fa7>:0 at System.Collections.Generic.List`1[T].AddWithResize (T item) [0x00007] in <307f99c6ca41457e88f875b482781fa7>:0

Expand

message.txt4 KB

  1. [20:17]

but there were nothing like the "slowness" of dedicated server build

### Denis 21/05/2024 20:26

oookay, what about editor? Does it give the same error on this tile and seed that build does?

### foscoalma 21/05/2024 20:30

yes, from the regular build the error is the same (for the very specific seed).. But the Dedicated Server build produces this error for any seed, and gives slowness as a bonus (which I dont get at all)

### Denis 21/05/2024 20:31

can you please send me the graph and the scene (with MM object only)?

  1. [20:31]

and provide some instruction on where to find this tile?

### foscoalma 21/05/2024 20:31

yes, sure, can we take it to DM?

### Denis 21/05/2024 20:32

of course!

Created by akaWraith May 24, 2024

Tried the scene, no generate infinite enabled, how can I reproduce the crash?

akaWraith, May 29, 2024