web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Integrating Unity Appl...
Power Apps
Unanswered

Integrating Unity Application into Power App Canvas App

(1) ShareShare
ReportReport
Posted on by 80

Hi,

 

Have created an Augmented Reality (AR) app in Unity which displays text in AR upon scanning of QR Code. 

 

How can I bring this into Power App Canvas App? Using PCF Control? If so, can you please guide me?

 

I have the same question (0)
  • gcmfaizan Profile Picture
    1,022 on at

    Hi @PowerDigitize_1 ,

     

    Unity-based AR content into a PCF control is a bit complex due to the different technologies involved. Here's a general approach you can consider:

    1. Embed Unity Content: You won't be able to directly embed Unity content within a PCF control, as Unity uses a different runtime environment. Instead, you would need to host your Unity AR app externally, either on a web server or a web hosting platform. The Unity AR app could be packaged as a WebGL build for web deployment.

    2. WebGL Build: In Unity, build your AR app for the WebGL platform. This will generate a set of HTML, JavaScript, and asset files that can be hosted on a web server.

    3. Create a Web Page: You'll need to create a web page (HTML) that includes the necessary JavaScript code to embed and interact with your Unity WebGL build. This web page will serve as the bridge between your Power Apps Canvas App and the Unity AR content.

    4. PCF Control: Create a PCF control within Power Apps that displays an iframe. The source of the iframe will be the URL of the web page you created in the previous step. This iframe will embed your Unity AR content into the Canvas App.

    5. Communication: You will need to establish a communication mechanism between the Unity WebGL app and the Power Apps Canvas App. This could involve using JavaScript events or window.postMessage() to send messages between the two environments.

     

    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 403

#2
WarrenBelz Profile Picture

WarrenBelz 338 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 320 Super User 2025 Season 2

Last 30 days Overall leaderboard