I did what you said but I got this compiling error.
My Unreal version is 4.26.2 .
Click no, then right click your content bit then click show in explorer then click back a file and double click the filenamecode workspace thing click into your new class then change the #include and remove thefirst bit so that you just have the class name
Do this in both the header and the cpp file then compile and retsart unreal
Click content then building escape code workspace
Thanks for quickly responding, I’m new in this code world that’s y have to ask every bit. Next?
Remove First bit means.
Wait what function are you creating that had the error
As shown in the video creating an actor component will give an OpenDoor . But I’m getting an error, In my case OpenDoor component is not showing. Don’t the problem !
Compile and restart unreal
I did bro but Compile Fail again & again. Because of this I can’t go Forward In this course
Do you get the same error?
Try adding building escaped to the #include like this #include “BuildingEscape/OpenFoor.h” do this in the cpp file
Yes
Could you close the editor, then delete the OpenDoor.cpp and .h files and try again?
Sir I tried that at least 10 times before still doesn’t working.
Could you paste the full message of the error?
Unhandled Exception: System.IO.IOException: The file or directory is corrupted and unreadable.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler
1 resultHandler, Boolean checkHost)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.DirectoryInfo.EnumerateDirectories()
at UnrealBuildTool.DirectoryItem.CacheDirectories() in D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\System\DirectoryItem.cs:line 223
at UnrealBuildTool.FileMetadataPrefetch.<>c__DisplayClass9_0.b__0() in D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\System\FileMetadataPrefetch.cs:line 105
at UnrealBuildTool.FileMetadataPrefetch.ScanDirectoryTree(DirectoryItem Directory) in D:\Build++UE4\Sync\Engine\Source\Programs\UnrealBuildTool\System\FileMetadataPrefetch.cs:line 179
at Tools.DotNETCommon.ThreadPoolWorkQueue.Execute(Object ActionToExecute) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\DotNETCommon\DotNETUtilities\ThreadPoolWorkQueue.cs:line 104
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Not really sure what file is possibly an issue from that message.
Could you show me your source in VS Code? e.g.
I thought you said you deleted the opendoor.cpp and .h files?