Skip to content
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

Skia 6.0.0 beta 1 on iOS with metal enabled crashes on opening the app #242

Closed
MyBuzzTechnologies opened this issue Jun 12, 2023 · 3 comments

Comments

@MyBuzzTechnologies
Copy link

Create an empty FMX app (Delphi 11.3)
Enable Skia (6.0.0 beta 1)
Add GlobalUseMetal:=True; to the project source.
Run it
Crash on open when creating a metal canvas

First chance exception at $0000000100EDD040. Exception class EAccessViolation with message 'Access violation at address 0000000100EDD040, accessing address 0000000000000000'. Process SkiaTest (25416)

--> FMX.Skia.Canvas.Metal.TMtlCanvas.GetSurfaceFromWindow()

image
@paulocesarbot paulocesarbot self-assigned this Jun 12, 2023
@paulocesarbot paulocesarbot added this to the vNext milestone Jun 12, 2023
paulocesarbot added a commit that referenced this issue Jun 12, 2023
Co-Authored-By: Vinícius Felipe Botelho Barbosa <viniciusfbb@users.noreply.github.com>
@paulocesarbot
Copy link
Collaborator

Thank you very much to report the issue! Please, apply to your source the follow fix: 6f7adda

@MyBuzzTechnologies
Copy link
Author

Thank you for the fast response! The fix worked and it now builds correctly

@paulocesarbot
Copy link
Collaborator

The fix was included on new release: v6.0.0-beta2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Status: Done
Development

No branches or pull requests

2 participants