06-22-2024
11:47 PM
- last edited on
06-23-2024
04:05 PM
by
The_1st_Dark_Lo
Hi there,
I'm web developer. I am working on an interactive web application where I use Unity (WebGL build) for the front-end visualization and ASP.NET Core managed by Visual Studio as the backend. I've run into a significant challenge regarding the communication between the Unity WebGL client and the ASP.NET Core server.
The issue I’m facing involves CORS (Cross-Origin Resource Sharing) errors when the Unity WebGL client tries to fetch data from the ASP.NET Core backend. Despite setting up the CORS policy on my ASP.NET Core server to allow all origins, methods, and headers, my requests from Unity still get blocked. Any suggestions!