GithubHelp home page GithubHelp logo

esri / arcgis-maps-sdk-unreal-engine-samples Goto Github PK

View Code? Open in Web Editor NEW
65.0 14.0 34.0 1.02 GB

Sample code for the ArcGIS Maps SDK for Unreal Engine.

Home Page: https://developers.arcgis.com/unreal-engine-sdk/

License: Apache License 2.0

C# 2.76% C++ 96.83% C 0.41%
game-engine engine unreal blueprints arcgis esri unreal-engine-5 arcgis-maps-sdk

arcgis-maps-sdk-unreal-engine-samples's People

Contributors

airaolagoitia avatar arash-sh avatar avr757 avatar bwbair01 avatar dan13436 avatar jade-jadeh avatar mmgaw113 avatar mrnelson6 avatar samcartledge avatar ttakeda09 avatar zackallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arcgis-maps-sdk-unreal-engine-samples's Issues

Cannot compile project on visual studio

When i compile the project on UE5 I get an error saying "compile from source". When I run it through Visual Studio, I get an error saying "MSB 3073 exited with code6".

Query a feature layer

In the sample code, feautrelayer.cpp. It used url to interface the feature layer (hosted) of ArcGIS Online.
Is there a way to read through the file? Or other way to interact. Because in my case I want to query the map without internet.

Unable to use ArcGIS Maps SDK for Unreal Engine on version UE 5.1

When i compile the project on UE5.1 I get an error saying "compile from source". When I run it through Visual Studio, I get an error saying

Build started...
1>------ Build started: Project: MyProject, Configuration: Development_Editor x64 ------
1>Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MyProjectEditor Win64 Development -Project="C:\Users\User\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild
1>Log file: C:\Users\User\AppData\Local\UnrealBuildTool\Log.txt
1>Building MyProjectEditor...
1>Using Visual Studio 2022 14.34.31935 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Determining max actions to execute in parallel (2 physical cores, 4 logical cores)
1> Executing up to 2 processes, one per physical core
1> Requested 1.5 GB free memory per action, 2.2 GB available: limiting max parallel actions to 1
1>Building 8 actions with 1 process...
1>[1/8] Compile Module.ArcGISMapsSDK.13_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Components\ArcGISMeshSceneProxy.cpp(159): warning C4996: 'FDynamicPrimitiveUniformBuffer::Set': Use version without bDrawsVelocity instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\ArcGISRendererImpl.cpp(44): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\ImageComposerShaders.h(29): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\NormalMapGeneratorShaders.h(33): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Internal\ArcGISMapsSDK\Renderer\GPUComputing\NormalMapGeneratorShaders.h(59): warning C4996: 'RHISupportsComputeShaders': This function is no longer in use and will be removed. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\GPUComputing\TerrainOcclusionDepthMapRenderer.cpp(67): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\GPUComputing\TerrainOcclusionDepthMapRenderer.cpp(373): warning C4996: 'RHICreateTexture2D': FRHITexture2D is deprecated, please use RHICreateTexture(const FRHITextureCreateDesc&). Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
1>[2/8] Compile Module.ArcGISMapsSDK.10_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>[3/8] Compile Module.ArcGISMapsSDK.11_of_13.cpp
1>C:\Users\User\Documents\Unreal Projects\MyProject\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Public\ArcGISMapsSDK\API\Unreal\ArcGISDataBuffer.h(185): error C4995: 'PLATFORM_COMPILER_HAS_IF_CONSTEXPR': name was marked as #pragma deprecated
1>[4/8] Link UnrealEditor-ArcGISMapsSDK.lib cancelled
1>[5/8] Link UnrealEditor-ArcGISMapsSDK.dll cancelled
1>[6/8] Link UnrealEditor-ArcGISMapsSDKEditor.dll cancelled
1>[7/8] Link UnrealEditor-ArcGISSamples.dll cancelled
1>[8/8] WriteMetadata MyProjectEditor.target cancelled
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" MyProjectEditor Win64 Development -Project="C:\Users\User\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "MyProject.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 06:14.600 ==========

I can't build in VS

I get the following error and I don't know how to fix it:

Severity Code Description Project File Line Suppression State Details Error MSB3073 The command ""C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat" sample_projectEditor Win64 Development -Project="Z:\TEMP\arcgis_samples\sample_project\sample_project.uproject" -WaitMutex -FromMsBuild" exited with code 6. sample_project C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

Thank you,
Luigi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.