Log in to reply
 

Decal5 | The script crashes when trying to place down a second decal.



  • I can put the first one on just fine. Once I go to position the second one and press enter to confirm, the script has an exception and crashes. When looking at the log, it initializes and everything just fine.

    But then this happened once I placed a second decal.

    System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
    at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    at GTA.UI.TextElement.InternalDraw(SizeF offset, Single screenWidth, Single screenHeight)
    at GraffitiArtist.SingleVehicleDecal.ShowInfo3D()
    at GraffitiArtist.SingleVehicleDecal.ManageInWorld()
    at System.Collections.Generic.List`1.ForEach(Action`1 action)
    at GraffitiArtist.DecaledVehicleOutfit.ManageOutfit()
    at GraffitiArtist.GraffitiArtistScript.WorldGraffitiController()
    at GraffitiArtist.GraffitiArtistScript.TaggingMode()
    at GraffitiArtist.GraffitiArtistScript.OnTick(Object sender, EventArgs e)
    at SHVDN.Script.MainLoop()
    [16:57:08] [ERROR] The exception was thrown while executing the script GraffitiArtist.GraffitiArtistScript.
    [16:57:08] [WARNING] Aborted script GraffitiArtist.GraffitiArtistScript.


  • I've noticed it doesn't always do it after the second decal.
    Sometimes it just crashes out of the blue.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.