Realistic Foreskin & Erection Simulation

Plugins + Scripts Realistic Foreskin & Erection Simulation

Download [<1 MB]
I'm getting the same errors with v114. Backing off to 113 made it go away. The scene I was using is Booth Battle.

<Truncated>

!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,JSONStorable].TryGetValue (System.String key, .JSONStorable& value) [0x00000] in <filename unknown>:0
at Atom.GetStorableByID (System.String storeid) [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.checkDecalMaker () [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.FixedUpdate () [0x00000] in <filename unknown>:0
!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argume cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,JSONStorable].TryGetValue (System.String key, .JSONStorable& value) [0x00000] in <filename unknown>:0
at Atom.GetStorableByID (System.String storeid) [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.checkDecalMaker () [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.FixedUpdate () [0x00000] in <filename unknown>:0
!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argument cannot be null.
Thanks, I will check and fix this.

In the meantime, you can always go back to an old version (in the history) and remove the current one from the addonpackages. I will also fix other bugs I found in the meantime.
 
I'm getting the same errors with v114. Backing off to 113 made it go away. The scene I was using is Booth Battle.

<Truncated>

!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,JSONStorable].TryGetValue (System.String key, .JSONStorable& value) [0x00000] in <filename unknown>:0
at Atom.GetStorableByID (System.String storeid) [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.checkDecalMaker () [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.FixedUpdate () [0x00000] in <filename unknown>:0
!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,JSONStorable].TryGetValue (System.String key, .JSONStorable& value) [0x00000] in <filename unknown>:0
at Atom.GetStorableByID (System.String storeid) [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.checkDecalMaker () [0x00000] in <filename unknown>:0
at RunRudolf.RealisticForeskin.FixedUpdate () [0x00000] in <filename unknown>:0
!> RealisticForeskin.FixedUpdate: System.ArgumentNullException: Argument cannot be null.
I can't reproduce your issue with the knowledge I have currently. The scene you mention does not contain v114, but v110. Did you replace the plugin?
 
What are these errors that i got after downloaded 114 ?
View attachment 570479
The only way to stop these error massages is to not using foreskin plugin.

I will using 113 for now.
Please let me know the exact cirumstances (scene, settings, etc.) to make this error occur. I don't have this when I load v114 on a male in a blank scene, so it must be the context.
 
I can't reproduce your issue with the knowledge I have currently. The scene you mention does not contain v114, but v110. Did you replace the plugin?
I usually delete the old versions and force the scene to use the latest one.
 
I usually delete the old versions and force the scene to use the latest one.
Sorry, cant find any problems with this scene running with v114. If you changed other things, let me know!
 
RunRudolf updated Realistic Foreskin & Erection Simulation with a new update entry:

Bugfixes

View attachment 571317
Credits: Pose: Appearance 'Julia' by Theuf, skin 'Gigi' by RenVR & WeebU, pose 'Anime and Sitting Poses' by AshAuryn
  • ControlCenter: Fixed a bug not re-enabling the Erection plugin after one-click altfuta conversion
  • RealisticErection: Fixed a bug not allowing re-enabling of breathing routine after removing VAMMoan
  • ControlCenter: Added the ability to remove DecalMaker plugin by button click
  • All plugins: Simplified the gender...

Read the rest of this update entry...
 
the last 2 updates somehow broke up the plugin for me im getting these errors( I have downloaded all the filles)
Screenshot_1.png
 
Would it be possible to have a custom definition list for static morphs that is loaded with the appropriate "realistic..." preset? I like the plugin, and it's become something like the de facto standard, but I'm a wee bit tired of having to fight it. I want my custom peen morphs and static morph presets, and I'd like the plugin to help me in that.
 
the last 2 updates somehow broke up the plugin for me im getting these errors( I have downloaded all the filles)View attachment 571717
Please send me a video how you get to the error from a blank default scene, or a json save file which leads tot the error so that I can debug it.
 
Would it be possible to have a custom definition list for static morphs that is loaded with the appropriate "realistic..." preset? I like the plugin, and it's become something like the de facto standard, but I'm a wee bit tired of having to fight it. I want my custom peen morphs and static morph presets, and I'd like the plugin to help me in that.
Cant that be achieved by merge loading an appearance preset which only contains the morphs you want?
 
the last 2 updates somehow broke up the plugin for me im getting these errors( I have downloaded all the filles
I also get the same error, it doesnt matter if i load the plugin in a current/fresh blank scene always the same error
 

Attachments

  • Desktop Screenshot 2026.03.07 - 11.38.39.11.png
    Desktop Screenshot 2026.03.07 - 11.38.39.11.png
    177.5 KB · Views: 0
I also get the same error, it doesnt matter if i load the plugin in current/fresh blank scene always the same error
Same error as I noted above. I was trying to figure out if a plugin interaction was causing it, but I couldn't pin it down. It didn't do this in a blank scene for me.
 
I also get the same error, it doesnt matter if i load the plugin in a current/fresh blank scene always the same error
I did not have this error in a blank default scene before releasing this version and also tested some more settings. I really need the context to be able to reproduce the error and fix it. I cannot fix errors I dont have unfortunately. Just send in the json please.
 
Same error as I noted above. I was trying to figure out if a plugin interaction was causing it, but I couldn't pin it down. It didn't do this in a blank scene for me.
yes, seems to be the same error as bash23's and related to decal maker (DM) checks. Do you have the newest DM version 51? DM is not a required dependency as you can use the plugin without it, but the checks happen anyway. That would be a lead for me to debug.
 
I do have DM 51.

I reproduced it by doing this:
Start Vam
Go to File > New Scene (this loads Lexi)
Delete Life plugin
Select skin Michael6 (this deletes Lexi and loads M6)
Add ForeskinSim&Erection (this looks normal)
Save scene, hard reset, load scene (this goes berzerk)

Scene attached.
 

Attachments

  • Simple test for Rudolph.json
    86.9 KB · Views: 0
I do have DM 51.

I reproduced it by doing this:
Start Vam
Go to File > New Scene (this loads Lexi)
Delete Life plugin
Select skin Michael6 (this deletes Lexi and loads M6)
Add ForeskinSim&Erection (this looks normal)
Save scene, hard reset, load scene (this goes berzerk)

Scene attached.
Thank you! Unfortunately both the procedure you describe as well as the json both work as intended on my end. Seems to be related to context as expected. I will do some tests with dependency combinations, that's what I expect to be the most probable.

Do you have a special var organisation plugin active, or an additional debug console plugin running?
 
Last edited:
Thank you! Unfortunately both the procedure you describe as well as the json both work as intended on my end. Seems to be related to context as expected. I will do some tests with dependency combinations, that's what I expect to be the most probable.

Do you have a special var organisation plugin active, or an additional debug console plugin running?
No to both. I don't use session plugins either. I do have the BepinEx addon for the no-stutter patch. Let me try disabling that.
 
No to both. I don't use session plugins either. I do have the BepinEx addon for the no-stutter patch. Let me try disabling that.
I can provide you with a best guess bugfix version, since I see where the problem occurs. But you would have to test it as I do not have the error. Let me know if thats OK.
 
Disabling BepinEx didn't help. Clearing cache didn't help. I followed my procedure above in a clean Vam, and it did the same thing, massive errors. Sure, I can try a proposed fix.
 
Disabling BepinEx didn't help. Clearing cache didn't help. I followed my procedure above in a clean Vam, and it did the same thing, massive errors. Sure, I can try a proposed fix.
Hi, this is a version with additional null reference exclusions in the checkDecalMaker() code block (rename it back to .var before loading). It contains three debug error logs, so please include the red error log if you still get the issue.
 
1772873027973.png

Hi Rudolf.....
I have the same issue and after run version 116 this is what I have...no errors but this message every second, aprox.
I hope you find the error.
Thanks for your work!!
 
View attachment 571809
Hi Rudolf.....
I have the same issue and after run version 116 this is what I have...no errors but this message every second, aprox.
I hope you find the error.
Thanks for your work!!
That looks great, thank you. This is just my debug log message. It says you currently don't have any incance of Decal Maker active.
 
Please send me a video how you get to the error from a blank default scene, or a json save file which leads tot the error so that I can debug it.
And i have the latest updates of the plugins,The problem is with chokaphi.decals(Control Center) plugin and realistic.foreskin because when i remove these two the error is gone
 
Last edited:
And i have the latest updates of the plugins,The problem is with chokaphi.decals(Control Center) plugin and realistic.foreskin because when i remove these two the error is gone
View attachment 571864
@burim001 : Did you test the beta bugfixed version 116 I posted a bit above? You have to rename it from .txt to .var. This should solve the errors you get, at least that's what we observed with JonyPink.
 
Last edited:
Back
Top Bottom