View Issue Details

IDProjectCategoryView StatusLast Update
0004623NoesisGUIStudiopublic2025-12-12 02:55
Reporterdstewart Assigned Tojsantos  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product VersionStudio_Beta 
Target VersionStudio_Beta 
Summary0004623: Studio Unity Sizes Equally-Dimensioned Files Differently Between Bitmaps and Videos
Description

Currently, when introducing a 1920x1080 PNG, and a 1920x1080 MP4 into Studio Unity, each asset type will display at a different size in Studio Unity, despite sharing the same dimensions.

When opening the exact same file in Studio Standalone, both the PNG and the MP4 render at the same size as expected.

See attached screenshots.


Repro Steps:

1) Download the latest version of the NoesisGUI-Unity plugin from: https://www.noesisengine.com/forums/viewtopic.php?t=3747
(I'm using NoesisGUI-Unity-4.0.0b7.zip for this.)

2) Open the Unity Hub and select 'Create a new Project'.

3) In the New Project creation interface, select the latest 'LTS' version of Unity (I'm using 6000.0.60f1'), then select the '3D (Built-In Render Pipeline)' Template.

4) Give the Unity Project a name, pick a local location to save it to., then select 'Create Project'.

At this point, the Unity Engine will load the project. Wait until it has loaded before proceeding to the next step.

5) In Windows Explorer, navigate to the directory set in Step 4), and create a sibling directory to 'Packages', named 'Packages_External'.

6) Enter the 'Packages_External' directory, and copy-paste into it the unzipped NoesisGUI-Unity plugin folder downloaded in Step 1)

7) Return to the opened Unity Project, and navigate to the Toolbar's 'Window' option, then select 'Package Manager'.

8) With the Package Manager open, click on the '+' icon in the upper left of the window, and select 'Install Package from Disk'.

9) Navigate to inside of the 'Packages_External' directory created in Step 5), enter the NoesisGUI-Unity plugin's folder, then select 'package.json', and press 'Open'.
This will install the NoesisGUI-Unity Plugin into the current project.

10) Once the Package has finished installing, in the Unity 'Project' tab, open the 'Assets/Scenes' folder, right-click on 'SampleScene', and select 'Show in Explorer'.

11) Download the attached video and image (Asset_Video and Asset_Image), and place them within the Assets/Scenes folder.

12) Take a moment to verify that each asset is exactly sized to 1920x1080.

13) Return to Unity, navigate to the Toolbar, and from 'Tools/NoesisGUI', select 'Open Studio Project'.
This will open Noesis Studio within Unity.

14) In Studio's Assets Panel, expand '/Scenes'.
This video and image files downloaded should be visible within there.

15) Within '/Scenes', adjacent to the video file, create a new Page named MainPage.xaml
Creating this Page will automatically open it in a tab within Studio.

16) Select the RootGrid, and create a central Column, dividing the screen into two halves.

17) Drag-and-Drop the Asset_Image file into the RootGrid, and assign to the left half of the RootGrid..

18) Drag-And-Drop the Asset_Video file into the RootGrid, and assign it to the right half of the RootGrid.

19) Take a moment to ensure the Properties between the Image and the Video are the same, especially in terms of their shared Margin and Stretch modes (should be set to 'Fill').

Observe that the Video is rendering taller than the Image

20) In Unity, double-click the 'SampleScene' scene in the Project directory.

21) Click-and-drag the 'MainPage' Noesis item in the Project directory, on top of the 'Main Camera' in the Unity Hierarchy.
This will make the Noesis page render on Unity's 'SampleScene' Main Camera.

22) Play the Unity Scene on the 'Game' tab.

Observe how the same sizing differences are noticed in Unity's 'Play' render.

23) Open Noesis Studio Standalone launcher, navigate to 'Add Existing', and navigate to the Noesis Project within this Unity Project.

24) Open the same Project within Noesis Studio Standalone

Observe how in Standalone, how the Video and the Image are sized identically, as expected.

Expected Results: Files of the same source dimensions render at equal sizes in Studio Unity, and Unity.

Attached Files
Asset_Image.png (1,439,830 bytes)
Asset_Video.mp4 (3,961,963 bytes)   
UnityMediaElementSizing.jpg (786,156 bytes)   
UnityMediaElementSizing.jpg (786,156 bytes)   
PlatformAny

Relationships

related to 0004621 assignedjsantos MediaElement Video Doesn't Render In Noesis Studio Unity 

Activities

Issue History

Date Modified Username Field Change
2025-12-09 14:32 dstewart New Issue
2025-12-09 14:32 dstewart File Added: Asset_Image.png
2025-12-09 14:32 dstewart File Added: Asset_Video.mp4
2025-12-09 14:32 dstewart File Added: UnityMediaElementSizing.jpg
2025-12-09 14:32 dstewart File Added: UnityMediaElementSizing_Dimensions.jpg
2025-12-10 14:47 jsantos Assigned To => jsantos
2025-12-10 14:47 jsantos Status new => assigned
2025-12-10 14:47 jsantos Target Version => Studio_Beta
2025-12-12 02:55 jsantos Relationship added related to 0004621