json_Situation_filePath = "Assets\test\situation.json"

[System.Serializable]

public class situation

{

    public int[] car_number;

    public int signal_type;

}




  public void setsignal(int Signal_number, string chae_light)

    {

        List<SignalData> jsondata_class = FileInStream.Instance.GetFile_SignalData();

        jsondata_class[Signal_number].signal = chae_light;


        ApplyToFile(jsondata_class);

    }


  

    private void ApplyToFile(string JSON,string File_path)

    {

        Debug.Log(File_path);

        Debug.Log(JSON);

        File.WriteAllText(File_path, JSON);

    }

여기서 


ArgumentException: Name has invalid chars

System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <c9d3ffd4b98649ee9989e1908eaca019>:0)

System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) (at <c9d3ffd4b98649ee9989e1908eaca019>:0)


이러한 오류가 발생합니다.


어떻게 해야 할지 도와주세요