Closed jjb-pro closed 2 months ago
Hi, I had not noticed any particular freezing when doig it on my version previously, have you got the latest build of the OH plugin loaded? maybe its a version mis-match issue?
Can you provide a complete minimal example that can reproduce this bug (including which bus you're using)?
Otherwise I might be able to gleam some insight into the issue if you can provide a minidump of OMSI; if you can get WinDbg or your favourite debugger to attach to Omsi (not always easy) then you should be able to create a minidump which I can analyse. In WinDbg the steps would be:
.dump /mA C:\Users\<username>\Documents\omsi.dmp
That being said a reproduceable example would be ideal.
Describe the bug When I try to set a script texture via OMSI Hook in an OMSI plugin, OMSI freezes.
To Reproduce I use the following code for this:
If I comment out the last instruction (
scriptTextures[0] = ...
), OMSI continues to run. Setting of script textures for scenery objects also works.Expected behaviour OMSI should not freeze after executing the code, but continue to run.