Comments (4)
Problem is that the hash of method body IL code somehow differs from what's on Windows. This is because the hash calculation is not portable, it can differ between .NET platforms. It triggers the code detection change, which disables the plugin. The reason for this mechanism is to prevent heavy crashes after game updates, instead it just waits disabled until I release an update.
It would most likely work for you if the EnsureCode.Verify()
call and the code block using its results would be commented out.
I make such a custom build and we'll see.
from performance-improvements.
In the upcoming 1.9.1 release you will be able to disable the code verification in the plugin configuration file:
<DetectCodeChanges>false</DetectCodeChanges>
This setting is not visible on the in-game configuration dialog, nor in Torch, but still effective on all target platforms. (I don't want players to mess with it, unless they absolutely have to.)
It should be: %AppData%\SpaceEngineers\PerformanceImprovements.cfg
Full config file, just in case you cannot even create one:
<?xml version="1.0" encoding="utf-8"?>
<PluginConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Enabled>true</Enabled>
<DetectCodeChanges>false</DetectCodeChanges>
<FixGridMerge>true</FixGridMerge>
<FixGridPaste>true</FixGridPaste>
<FixP2PUpdateStats>true</FixP2PUpdateStats>
<FixGarbageCollection>true</FixGarbageCollection>
<FixGridGroups>true</FixGridGroups>
<CacheMods>true</CacheMods>
<CacheScripts>true</CacheScripts>
<DisableModApiStatistics>true</DisableModApiStatistics>
<FixSafeZone>true</FixSafeZone>
<FixTargeting>true</FixTargeting>
<FixWindTurbine>true</FixWindTurbine>
<FixVoxel>true</FixVoxel>
<FixPhysics>true</FixPhysics>
<FixEntity>true</FixEntity>
<FixCharacter>true</FixCharacter>
<FixMemory>true</FixMemory>
</PluginConfig>
from performance-improvements.
Plugin Loader should update this plugin to 1.9.1 now. Please let me know whether changing the above config option in the XML fixes your issue.
from performance-improvements.
Seems to load fine, all I had to do was to edit the existing Config PerformanceImprovements.cfg
and add <DetectCodeChanges>false</DetectCodeChanges>
as you mentioned since it hasn't automatically added the default value (true
).
It did alleviate the problem somewhat (so it is less worse), but my sim speed still tanks, mod testing it is.
And hoping it is just a mod and not some linux specific issue because this is just way to weird the game behaves right now (e.g. if Shift + F10 shows sim speed at ~100% (~16ms) just switching to the second page via Shift + F10 again tanks it to 150%(~25ms) for some reason - beats me why)
Thanks for the quick fix anyways - I'll close the issue since it works now.
Edit: If anyone in the future stumbles upon my text above regarding the sim speed issue - could be a vanilla or Proton Issue (happens, albeit to a lesser extend, with vanilla as well): ValveSoftware/Proton#1792 (comment)
Edit 2: For anyone else - reproduced it in vanilla on my linux system reliably ValveSoftware/Proton#1792 (comment)
from performance-improvements.
Related Issues (12)
- Causes game crash when Vanilla Turrets are placed/exist in the world. HOT 7
- Can no longer access or edit LCDs directly HOT 1
- Avast - False Positive Issue HOT 3
- IMyShipConnector.OtherConnector or .OtherConnector.CubeGrid returns null HOT 9
- Error on startup HOT 2
- Plugin crashes game at start HOT 10
- Failed to apply harmony patches, SE version 1.204.017 b0 HOT 2
- Detected conflicting code since last update HOT 2
- MyShipConnectorPatchForConveyor causing server hang sometimes HOT 7
- MyGridConveyorSystemPath.ReachablePrefix crash HOT 3
- Mouse flicker if some options are enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from performance-improvements.