You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not familiar with Unity. Is it possible to reproduce the issue using a regular .NET project?
One thing you could try is to download this project and reference it directly in your Unity project. That way it will be easier to debug the code and fix the errors. It would be great if you could try it.
In .Net 8.0, works perfectly. but not in Unity.
here's my reproduction sample.
https://github.com/choigawoon/test-unity-synology-api
open Assets/Scens/TestScene and click play after inserting infos.
![image](https://private-user-images.githubusercontent.com/3104530/293511144-cf15c2d6-be84-41aa-9b9e-cd19eef7d271.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3ODQyMDksIm5iZiI6MTczODc4MzkwOSwicGF0aCI6Ii8zMTA0NTMwLzI5MzUxMTE0NC1jZjE1YzJkNi1iZTg0LTQxYWEtOWI5ZS1jZDE5ZWVmN2QyNzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDVUMTkzMTQ5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzA3NDNlNmM1YTA4ODM3NzIzNmQ1ZjA4YmE2ODM1NjBiNjgwZTUzOTRmNTUwNjZjOTU1YzQ5MGZjMmNlOGY5MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xbSDZy2quHZ4RgYgFrR90_EOIX-GUrSIKZtP6nGKgPg)
Something`s broken when doing this code.
In .Net 8.0
headerValue:
"form-data; name="file"; filename="ìµ\u009cê°\u0080ì\u009a´_H2_RIGHT_STAGE 2 - 2_20231220_234457_640x360.mp4"; filename*=UTF-8''%EC%B5%9C%EA%B0%80%EC%9A%B4_H2_RIGHT_STAGE%202%20-%202_20231220_234457_640x360.mp4"
In Unity
headerValue:
"form-data; name="file"; filename="���_H2_RIGHT_STAGE 2 - 2_20231220_234457_640x360.mp4"; filename*=UTF-8''%EC%B5%9C%EA%B0%80%EC%9A%B4_H2_RIGHT_STAGE%202%20-%202_20231220_234457_640x360.mp4"
The text was updated successfully, but these errors were encountered: