cancel
Showing results for 
Search instead for 
Did you mean: 

Facing Problem with Unity WebGL Build, Visual Studio, and ASP.NET Core

Zahra.B2024
Honored Guest

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!

0 REPLIES 0