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

Why I run in editor well but build project cannot run leapmotion? #16

Closed
wefrenzy opened this issue Sep 7, 2018 · 1 comment
Closed

Comments

@wefrenzy
Copy link

wefrenzy commented Sep 7, 2018

It works well in editor, but when I build to exe, everything is OK except LeapMotion?

the following is Log

[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Couldn't find file for package /Script/LeapMotion requested by async loading code. NameToLoad: /Script/LeapMotion
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Found 1 dependent packages...
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: /Game/NewMap
[2018.09.07-13.11.56:273][ 0]LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: '/LeapMotion/Examples/LeapDesktopActor' is not a standard unreal filename or a long path name. Reason: Path does not start with a valid root. Path must begin with: '/Engine/', '/Game/', '/Paper2D/', '/CryptoKeys/', '/DatasmithContent/', '/MediaCompositing/', '/AppleARKit/', '/OculusVR/', '/SteamVR/', '/Config/', '/Script/', '/Memory/', or '/Temp/'
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Couldn't find file for package /LeapMotion/Examples/LeapDesktopActor requested by async loading code. NameToLoad: /LeapMotion/Examples/LeapDesktopActor
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Found 1 dependent packages...
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: /Game/NewMap
[2018.09.07-13.11.56:273][ 0]LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: '/LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly' is not a standard unreal filename or a long path name. Reason: Path does not start with a valid root. Path must begin with: '/Engine/', '/Game/', '/Paper2D/', '/CryptoKeys/', '/DatasmithContent/', '/MediaCompositing/', '/AppleARKit/', '/OculusVR/', '/SteamVR/', '/Config/', '/Script/', '/Memory/', or '/Temp/'
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Couldn't find file for package /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly requested by async loading code. NameToLoad: /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: Found 1 dependent packages...
[2018.09.07-13.11.56:273][ 0]LogStreaming: Error: /Game/NewMap
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Export 11 /Game/car_Blueprint.car_Blueprint_C:Leap_GEN_VARIABLE
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Linker is ../../../car/Content/car_Blueprint.uasset
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Dep S_BEFORE_S Export 1 /Game/car_Blueprint.car_Blueprint_C (class BlueprintGeneratedClass)
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 16 /Script/LeapMotion.LeapComponent
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 22 /Script/LeapMotion.Default__LeapComponent
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 1 /Game/car_Blueprint.car_Blueprint_C (class BlueprintGeneratedClass)
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Missing Dependency, request for /Script/LeapMotion.LeapComponent but it hasn't been created yet.
[2018.09.07-13.11.56:376][ 0]LogStreaming: Error: Could not find class LeapComponent to create Leap_GEN_VARIABLE
[2018.09.07-13.11.56:815][ 0]LogProperty: Error: Struct type unknown for property 'StructProperty /Game/car_Blueprint.car_Blueprint_C:BndEvt__Leap_K2Node_ComponentBoundEvent_0_LeapHandSignature__DelegateSignature.Hand'; perhaps the USTRUCT() was renamed or deleted?
[2018.09.07-13.11.56:815][ 0]LogProperty: Error: Struct type unknown for property 'StructProperty /Game/car_Blueprint.car_Blueprint_C:ExecuteUbergraph_car_Blueprint.K2Node_ComponentBoundEvent_Hand'; perhaps the USTRUCT() was renamed or deleted?
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Export 22 /Game/NewMap.NewMap:PersistentLevel.car_Blueprint.Leap
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Linker is ../../../car/Content/NewMap.umap
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep C_BEFORE_S Import 4 /Game/car_Blueprint.car_Blueprint_C
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 44 /Script/LeapMotion.LeapComponent
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 54 /Game/car_Blueprint.car_Blueprint_C:Leap_GEN_VARIABLE
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 7 /Game/NewMap.NewMap:PersistentLevel.car_Blueprint (class car_Blueprint_C)
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Missing Dependency, request for /Script/LeapMotion.LeapComponent but it hasn't been created yet.
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Could not find class LeapComponent to create Leap
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Export 24 /Game/NewMap.NewMap:PersistentLevel.LeapDesktopActor_140
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Linker is ../../../car/Content/NewMap.umap
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 8 /Game/NewMap.NewMap:PersistentLevel.LeapDesktopActor_140.ChildActor (class ChildActorComponent)
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 33 /Game/NewMap.NewMap:PersistentLevel.LeapDesktopActor_140.DefaultSceneRoot (class SceneComponent)
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 6 /LeapMotion/Examples/LeapDesktopActor.LeapDesktopActor_C
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 56 /LeapMotion/Examples/LeapDesktopActor.Default__LeapDesktopActor_C
[2018.09.07-13.11.56:816][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 25 /Game/NewMap.NewMap:PersistentLevel (class Level)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Missing Dependency, request for /LeapMotion/Examples/LeapDesktopActor.LeapDesktopActor_C but it hasn't been created yet.
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find class LeapDesktopActor_C to create LeapDesktopActor_140
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer LeapDesktopActor_140 to create ChildActor
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Export 25 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Linker is ../../../car/Content/NewMap.umap
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 37 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.Right (class SkeletalMeshComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 36 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.Left (class SkeletalMeshComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 31 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.OffsetAndScale (class SceneComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 22 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.Leap (class LeapComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 30 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.DefaultSceneRoot (class SceneComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Export 8 /Game/NewMap.NewMap:PersistentLevel.LeapDesktopActor_140.ChildActor (class ChildActorComponent)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 5 /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly.LeapDesktopLowPoly_C
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 57 /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly.Default__LeapDesktopLowPoly_C
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 25 /Game/NewMap.NewMap:PersistentLevel (class Level)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Missing Dependency, request for /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly.LeapDesktopLowPoly_C but it hasn't been created yet.
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find class LeapDesktopLowPoly_C to create ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Export 23 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96.Leap
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Linker is ../../../car/Content/NewMap.umap
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_S Import 5 /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly.LeapDesktopLowPoly_C
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 44 /Script/LeapMotion.LeapComponent
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep S_BEFORE_C Import 55 /LeapMotion/DirectRigging/LowPoly/LeapDesktopLowPoly.LeapDesktopLowPoly_C:Leap_GEN_VARIABLE
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Dep C_BEFORE_C Export 24 /Game/NewMap.NewMap:PersistentLevel.ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96 (class LeapDesktopLowPoly_C)
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Missing Dependency, request for /Script/LeapMotion.LeapComponent but it hasn't been created yet.
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find class LeapComponent to create Leap
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96 to create DefaultSceneRoot
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96 to create OffsetAndScale
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer LeapDesktopActor_140 to create DefaultSceneRoot
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96 to create Left
[2018.09.07-13.11.56:817][ 0]LogStreaming: Error: Could not find outer ChildActor_GEN_VARIABLE_LeapDesktopLowPoly_C_CAT_96 to create Right
[2018.09.07-13.11.56:908][ 0]LogAIModule: Creating AISystem for world NewMap
[2018.09.07-13.11.56:908][ 0]LogLoad: Game class is 'GameModeBase'
[2018.09.07-13.11.56:916][ 0]LogWorld: Bringing World /Game/NewMap.NewMap up for play (max tick rate 0) at 2018.09.07-21.11.56
[2018.09.07-13.11.56:916][ 0]LogWorld: Bringing up level for play took: 0.007708
[2018.09.07-13.11.56:918][ 0]LogLoad: Took 0.656669 seconds to LoadMap(/Game/NewMap)
[2018.09.07-13.11.57:037][ 0]LogLoad: (Engine Initialization) Total time: 2.16 seconds

@wefrenzy
Copy link
Author

WTF!!!!!!!!!!!
I know the issue,when I Drag and drop Plugins into your project root folder,and I restart project and check the plugin true,but the fucking UE4Engine remove the leapmotionplugin config of xxx.uproject file,

so the right way is :
after copy the plugin folder and restart your project , you must check the plugin false in editor, then close project and right click the xxx.uproject and edit it in NOTEPAD

"Plugins": [
	{
		"Name": "LeapMotion",
		"Enabled": true
	}
]

then start fucking again UE4project , then build it ,run it ,DONE!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants