Azure Marketplace - Unreal Engine Pixel Streaming

Solution to deploy a Pixel Streaming-enabled app from the Azure Marketplace to the cloud, and allows for scaling from one stream to many with in minutes.

Azure Marketplace - Unreal Pixel Streaming

Documentation- (Deploying Unreal Engine 4 Pixel Streaming on Azure | Unreal Engine 4.27 Documentation)

This topic is for comments and questions regarding setup and installation

2 Likes

Hi @Aaron.Sternberg

What subscription is required for this?

As this isn’t offered for me at least… cheers

Hi @jamietelford
I had to research this. Apparently there’s a box in set up that needed to be checked. We should have this fixed next week. Please try again the 30th or 31st.

Thank you,
Aaron

Is it correct that the UE4 application name is limited to letters only? It seems the setup fails if there is a number or a special character (like a dash) included in the name on Basics step 3. Can you explain the limitation and if it is possible to include numbers and special characters in the application name or if the project must be built without these?

Hi @MatthewPatrick4,

This appears to be a regex limitation in the naming field that needs to be updated for other characters. Epic Games is working on resolving this, and will revert back here when it’s ready. Thanks for your patience.

It appears I found another bug with the Marketplace app version 4.27.2

The RTC portion is not functioning with new version of Chrome/Edge. I had to manually update the app.js file in SignalingWebServer\scripts following forum post: Pixel Streaming not working in Chrome version 89 - #6 by FishOrBear

Can this be corrected in the marketplace app so I dont need to customize app.js for each deployment?

Thanks @MatthewPatrick4 for pointing this out, we’ll look at this to incorporate the fixes for the new chrome issue.

@MatthewPatrick4 The restrictions on the UE App Name have now been fixed to allow for numbers and underscores.

Regarding your WebRTC issues, I can’t seem to replicate that in my tests on the latest Chrome browser. I checked the section of code you referenced and it’s the same as 4.27.2 and 5.0, which I haven’t had issues with. Were you using the checkbox for “I have made modifications…” before this popped up, or were you leaving it as default?

Because we just updated the offer for a couple other things, please try again and let us know if you’re still seeing an error.

Hello @.Phillips,

Where was the UE App Name fixed? Is it just the deployment scripts, or the Azure Marketplace App as well? Seems in the Azure Marketplace deployment app, it still gives the error ‘Can only contain characters, no spaces’ if containing a number or underscore.

Regarding WebRTC, I will make some new tests. In my original deployment I did not make any modifications and left it as default. However, as soon as connecting to the game through Pixel Streaming, the game .exe would crash until i modified the app.js as specified above. Will reply here following my additional tests.

Sorry about that. I “published” the latest version last night but it looks like it’s still undergoing certification and publication on the Azure Marketplace. It should be ready in the next few days. I’ll send you another message when I see it’s live.

See if you get the same behavior with a basic template project. I haven’t seen a crash caused by the WebRTC connection before.

When deploying an UE5 project, one needs to change the “Windows” folder to be called “WindowsNoEditor”. Will this already be fixed in the new release, @.Phillips?

Will there be an updated documentation for UE5 soon? There’s not a lot of change, but it helps newcomers :slight_smile:

Thanks!

This update does not include a workaround to the “Windows” folder renaming, but that is in development. A UE5 version of the documentation is being reviewed.

1 Like

The new offer is now live on the Azure Marketplace!

2 Likes

@Structed The fix for allowing both “Windows” and “WindowsNoEditor” folders has been submitted and should be live on the marketplace offer by early next week.

1 Like

Every time I try to run it on the cloud it gives me this error

What do the “operational details” say? Usually, this is due to a conflict with an equally named resource. Please check whether you have any resource that has the same name.

Sorry for my late reply. I checked and we still have a problem with the signaling server. It always immediately goes to disconnected if we do not add this one line to the app.js.

One other question/issue/request though. It seems there is no settings in the Marketplace application to control which VNET the virtual machine and virtual machine scale sets use. Our company prefers to internalize the VNETs and firewall rules, outside of the Network Security Groups. Is there any way to use a customized VNET when deploying Pixel Streaming? We tried to change the VNET after the fact, but it is not possible with the VM Scale Set and we confirmed this via Microsoft Ticket. I tried to download the template from the Marketplace app, but it seems to not allow us to manually deploy the template file. I think the template file is failing because we do not know what to enter as the secure string for _artifactsLocationSasToken. Can you either update the Marketplace app to allow custom VNET address ranges, or help us to deploy the templat jsons manually?

Hi @MatthewPatrick4,

I work with Epic Games on this solution from Microsoft, and will see what we can do to work your VNet selection for VMSS’ into the backlog. Until then, if you want to Message me and give me your email I can see what options we can help with now to unblock you. As some general details, the _artifactsLocationSasToken in Azure Marketplace solutions points to a zip file which has things like Custom Script Extensions that run when deploying a solution. We can also work with Epic Games to see about options of making this easier to customize in the future from an ARM template deployment. There is a Terraform version on GitHub that allows for full customization if needed, which documentation can be found here (doesn’t include things like a dashboard): Unreal Pixel Streaming at Scale in Azure - Azure Gaming | Microsoft Docs.

Hello .
I tried to deploy an UE 4.27 pixel streaming package using the scalable unreal pixel streaming following the tutorial in the docs . It keep failing saying this error “Region doesn’t support Classic resource mode for Application Insights resources. Please use Workspace-based mode.”
Ancy clues ?!

Hi @infoatcamouflage1,

Can you tell me which region you are trying to deploy to that gives this error? It looks like there migtht be newer regions that stopped supporting the classic resource type for Application Insights, and the solution will need to be updated to use the Workspace mode which links Log Analytics and Application Insights together for common log storage.