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
Describe the bug
Trying to run a game on an Android device/emulator with Android 14/API 34 or above will throw the exception like: Java.Lang.SecurityException: ' One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts'
Additional context
Issue is identified/explained in this issue dotnet/Silk.NET#2232
There is no workaround for this issue due the check & error being baked into the Android OS and the fix must be implemented in the referenced library.
The solution requires updating Silk library to the version when this issue is closed
The following code will also need to be fixed on our end - testing will need to be done whether it needs to be Exported or if NotExported will suffice:
is this definitely not something you can work around? This looks similar to something that was a problem in unreal engine and all we had to do was mark certain things as "exported" during build process.
is this definitely not something you can work around? This looks similar to something that was a problem in unreal engine and all we had to do was mark certain things as "exported" during build process.
Not possible here, the export declaration must be set in the java file of the SDL library because this was done in code so we need updated libraries.
Our dependency is Stride -> Silk -> SDL.
This has been fixed on SDL's end. Silk still needs to get the updated SDL code, then compile it for .NET interfacing.
Then we update our Silk reference.
Release Type: Official Release
Version: 4.1+
Platform(s): Android 14/API 34
Describe the bug
Trying to run a game on an Android device/emulator with Android 14/API 34 or above will throw the exception like:
Java.Lang.SecurityException: ' One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts'
Additional context
Issue is identified/explained in this issue dotnet/Silk.NET#2232
There is no workaround for this issue due the check & error being baked into the Android OS and the fix must be implemented in the referenced library.
The solution requires updating Silk library to the version when this issue is closed
The following code will also need to be fixed on our end - testing will need to be done whether it needs to be Exported or if NotExported will suffice:
stride/sources/engine/Stride.Games/Starter/StrideActivity.cs
Line 43 in 10babd2
stride/sources/engine/Stride.Games/Starter/StrideActivity.cs
Line 73 in 10babd2
The text was updated successfully, but these errors were encountered: