Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game hangs while compiling USI_RadioPlasmaWaveScience on 1.8.1 #175

Open
nan0bug00 opened this issue Jun 2, 2022 · 1 comment
Open

Game hangs while compiling USI_RadioPlasmaWaveScience on 1.8.1 #175

nan0bug00 opened this issue Jun 2, 2022 · 1 comment

Comments

@nan0bug00
Copy link

nan0bug00 commented Jun 2, 2022

I'm sure this will be very low priority given that it isn't happening in 1.12.x, but when trying to use the latest release on 1.8.1 (it's marked as compatible on CKAN) the game hangs on loading this part. Not sure if it's an interaction with something else, could be Kopernicus, IDK what "trackingMode" is doing but I know lots of solar arrays threw exceptions in 1.8.x so maybe that has something to do with it.

I know CKAN isn't really your thing so if this is just a case of them marking something as compatible when it shouldn't be then just let me know, I'll let someone from CKAN know so they can update their metadata accordingly.

If it should be compatible and there's any interest in fixing it, then here's the relevant bit from player.log

PartLoader: Compiling Part 'UmbraSpaceIndustries/ExpPack/SciencePack/Parts/RadioPlasmaWaveScience/USI_RadioPlasmaWaveScience'
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Cannot parse Enum value. Field trackingMode, value NONE on object of type ModuleDeployablePart: System.ArgumentException: Requested value 'NONE' was not found.
  at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at BaseField.ReadPvt (System.Reflection.FieldInfo field, System.String value, System.Object host) [0x00b07] in <9d71e4043e394d78a6cf9193ad011698>:0 
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

PartLoader: Part 'UmbraSpaceIndustries/ExpPack/SciencePack/Parts/RadioPlasmaWaveScience/USI_RadioPlasmaWaveScience' has no database record. Creating.
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

DragCubeSystem: Creating drag cubes for part 'USI.RadioPlasmaWaveScience'
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at ModuleDeployablePart.AssumeDragCubePosition (System.String name) [0x001b9] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at DragCubeSystem+<RenderDragCubes>d__33.MoveNext () [0x000ed] in <9d71e4043e394d78a6cf9193ad011698>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <5aeafee3fea24f37abd1315553f2cfa6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <9d71e4043e394d78a6cf9193ad011698> Line: 0)

If you need anything else from me, let me know and I will provide it.

@nan0bug00
Copy link
Author

For what it's worth, if anyone else has the same problem, comes across this and it's not officially fixed, you can just go into the /Gamedata/UmbraSpaceIndustries/ExpPack/SciencePack folder. Then go into the Assets folder and remove the following files:

RadioPlasmaWaveScience.dds
RadioPlasmaWaveScience.mu

Go back up to the SciencePack folder, into the Parts folder, and remove

RadioPlasmaWaveScience.cfg

Then go back up to the SciencePack folder, into Patches, open ScienceDefs.cfg in an editor, Ctrl-F search for RadioPlasmaWaveScience and comment out that entire section like this:

//EXPERIMENT_DEFINITION
//{
//    id = USI_RadioPlasmaWaveScience
//    title = Radio Plasma Wave Science
//    baseValue = 16
//    scienceCap = 16
//    dataScale = 2
//    requireAtmosphere = False
//    situationMask = 48
//    biomeMask = 48
//    RESULTS
//    {
//        default = You begin to transmit radio waves of various frequencies, observing how they are absorbed, reflected, and refracted by the atmosphere and magnetosphere at certain times of the day
//    }
//}

Once you do this you should be good to go. Everything else loads fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant