Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptionsMenu.uasset not correctly removed in release 1.4.0? #3349

Closed
CarloCloet opened this issue Jan 29, 2021 · 3 comments · Fixed by #3432
Closed

OptionsMenu.uasset not correctly removed in release 1.4.0? #3349

CarloCloet opened this issue Jan 29, 2021 · 3 comments · Fixed by #3432

Comments

@CarloCloet
Copy link

Bug report

  • AirSim Version/#commit:1.4.0
  • UE/Unity version: 4.25.4
  • autopilot version: N/A
  • OS Version: Windows 10

What's the issue you encountered?

When running the Blocks environment, I notice the following warning in the output log window:
LogLinker: Warning: Failed to load '/AirSim/Weather/UI/OptionsMenu': Can't find file.

The application works fine though, including the weather menu (F10).

I noticed the OptionsMenu.uasset file was removed from AirSim\Unreal\Plugins\AirSim\Content\Weather\UI between release 1.3.1 and 1.4.0. (see #2877)

Adding the file back manually clears the warnings, but I assume that is not the proper way to fix this. Do others also experience this problem in 1.4.0?

The issue is caused by the MenuActor.uasset file:

LogLinker: Warning: While loading '<path omitted>/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Content/Weather/UI/MenuActor.uasset' failed to load '/AirSim/Weather/UI/OptionsMenu': Can't find file.

When opening the MenuActor asset and checking its references, it indeed lists OptionsMenu as a referenced asset, but I do not understand Unreal sufficiently at this point to debug any further.

Settings

{
"SettingsVersion": 1.2,
"SimMode": "Car"
}

@zimmy87 zimmy87 added bug-report for issues filed as bug reports unreal-engine labels Feb 1, 2021
@zimmy87
Copy link
Contributor

zimmy87 commented Feb 11, 2021

Hi @CarloCloet, thank you for reporting this issue. It looks like this happening due to a removed reference inside Blueprint'/AirSim/Weather/UI/MenuActor.MenuActor'. These warnings go away after I open this asset, select 'File -> Refresh All nodes', and recompile. Please retest after refreshing the MenuActor asset and let me know if you still see these warnings.

@zimmy87
Copy link
Contributor

zimmy87 commented Mar 2, 2021

Hi @CarloCloet, I created a PR #3432 to address this issue. Please retest with this PR applied and let me see if you still experience this issue.

@CarloCloet
Copy link
Author

CarloCloet commented Mar 4, 2021

@zimmy87 , this solves the issue indeed. Tx for the fix!
Note: I am currently using a modified AirSim build and applied your fix manually. Did not test using the file in the pull request, but I assume that is OK.

(Apologies for the late response, had to send in my PC for repair and was not able to test earlier.)

@jonyMarino jonyMarino added bug and removed bug-report for issues filed as bug reports labels Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants