Open cmahnke opened 2 months ago
The last error can be fixed by changing OdysseyNow/Assets/Scripts/Calibration/GameCalibration.cs
:
diff --git a/OdysseyNow/Assets/Scripts/Calibration/GameCalibration.cs b/OdysseyNow/Assets/Scripts/Calibration/GameCalibration.cs
index 7062829..b9edcf9 100644
--- a/OdysseyNow/Assets/Scripts/Calibration/GameCalibration.cs
+++ b/OdysseyNow/Assets/Scripts/Calibration/GameCalibration.cs
@@ -20,18 +20,20 @@ public class GameCalibration : MonoBehaviour
public float _calib_write_votage_y_bottom = 80;
//this stored the type on imput selected--depracted
- public LocalInputManager.ControlScheme p1Input = (LocalInputManager.ControlScheme)System.Enum.Parse(typeof(LocalInputManager.ControlScheme),
- PlayerPrefs.GetString("P1Input"));
- public LocalInputManager.ControlScheme p2Input = (LocalInputManager.ControlScheme)System.Enum.Parse(typeof(LocalInputManager.ControlScheme),
- PlayerPrefs.GetString("P2Input"));
-
+ public LocalInputManager.ControlScheme p1Input;
+ public LocalInputManager.ControlScheme p2Input;
// Start is called before the first frame update
void Start()
{
+ p1Input = (LocalInputManager.ControlScheme)System.Enum.Parse(typeof(LocalInputManager.ControlScheme),
+ PlayerPrefs.GetString("P1Input"));
+ p2Input = (LocalInputManager.ControlScheme)System.Enum.Parse(typeof(LocalInputManager.ControlScheme),
+ PlayerPrefs.GetString("P2Input"));
+
DontDestroyOnLoad(gameObject);
But the resulting executable isn't working out of the box. Switching the runtime scripting backend to IL2CPP did the trick. It starts! But now the controls doens't seem to work.
To build a runnable version I've tried to open the project in Unity and encountered a few problems:
Building fails with: