-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug: JSON deserialization error occurs on ARM64 builds (aka port to .NET 9) #29
Comments
Same here; reproduces fine and I am unable to use the app
Above stack trace was copy pasted using OCR technology; mistakes can exist as a result; consider enabling copy pasting stack traces to improve such experience |
@gus33000 @ilGianfri are your devices arm64? |
Yes, it's a Galaxy Book4 Edge arm64 |
So it seems that this could be an issue with .NET Native on arm64 not working with the ATProto FishyFlip library that is being used. Another uwp app called Unisky also seems to have the same issue. To temporarily fix this in the short term I will only be deploying x64 and x86 builds to the store and hopefully it will work with emulation even if this is not ideal. I think this issue can be fixed by upgrading the project to UWP .NET 9 NativeAOT. Just to be sure however I will create a test app to see if the library works on UWP .NET 9. Since I don't have an arm64 device myself it would be up to someone else with an arm64 device to test if the UWP .NET 9 test app works. If it does then I will immediately start porting DarkSky to UWP .NET 9. If it does not work then we will see. |
I can test this version, if you want. Just let me know. |
More updates from information in Discord: When compiling with debug arm64 the app works normally. Some things like profile page work even in store release arm64 while other things don't 🤔https://discord.com/channels/714581497222398064/753345992543305808/1316388324088217681 |
So 0.3.8 is out in the store. Is it possible to update to that and see if it works? |
Nice, in the meanwhile we got devs that are smarter than me working on trying to figure out what went wrong with the arm64 build. I will change the name of this issue to "UWP .NET 9 NativeAOT port" as that is the long term plan for DarkSky and it would prevent future .NET Native issues whether on arm64 or not |
Let's create a new issue for tracking the UWP .NET 9 port |
I'm getting this error on launch on the latest store version, the app does not display anything. Seems something is not getting parsed correctly in the json.
Home:
![image](https://private-user-images.githubusercontent.com/5341363/394480350-f41c3c93-b57b-4186-aac7-e829b1fa6dde.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3ODYzMzksIm5iZiI6MTczODc4NjAzOSwicGF0aCI6Ii81MzQxMzYzLzM5NDQ4MDM1MC1mNDFjM2M5My1iNTdiLTQxODYtYWFjNy1lODI5YjFmYTZkZGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDVUMjAwNzE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGFiN2RmMmRhYmY0MGUzOTFjYWE2NjEzZmIxY2U5NzExN2FhNDYyZWJiODY4MWY1YjBjODNkMjViYzA4ZjE3MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.dahGohIpE1AI9HrcO3QDy--j_5FD4Lgrhg2_lYigkao)
Notifications:
![image](https://private-user-images.githubusercontent.com/5341363/394481766-9de24de5-35ce-4809-be40-97bde9982138.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3ODYzMzksIm5iZiI6MTczODc4NjAzOSwicGF0aCI6Ii81MzQxMzYzLzM5NDQ4MTc2Ni05ZGUyNGRlNS0zNWNlLTQ4MDktYmU0MC05N2JkZTk5ODIxMzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDVUMjAwNzE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzBiMWZmMWQxNTk5ZmU4YzM5ODM2ZDVlY2NjNmY1YTBhMzAxNTQ1NmNlNzBmNGQ1MjNkNWNmMzA4ZjllNjYzNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.MsRKoEAIuI5cydqCPbGeB5S27IjGGR8YQmvb5gDjDrI)
I've tried to launch the app in debug from the master branch and everything works, no errors and TL loads correctly.
The text was updated successfully, but these errors were encountered: