logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issue #67. UScript bug: accessing a field of a returned struct crashes the game (Read 40 times)
Masterkent
Developer Team
Offline



Posts: 1134
Location: Russia
Joined: Apr 5th, 2013
Gender: Male
Issue #67. UScript bug: accessing a field of a returned struct crashes the game
Nov 5th, 2018 at 2:44pm
Print Post  
Code
Select All
function RunTest()
{
	local float Z;
	Z = SomeVector().Z; // crashes the game
}

function vector SomeVector()
{
	return vect(0, 0, 1);
}

event Tick(float DeltaTime)
{
	RunTest();
} 


Code
Select All
Critical: UObject::ProcessEvent
Critical: (CrashTest0, Tick)
Critical: AActor::Tick
Critical: TickAllActors
Critical: ULevel::Tick
Critical: (NetMode=0)
Critical: TickLevel
Critical: UGameEngine::Tick
Critical: UpdateWorld
Critical: MainLoop 


[dev ConformanceTest: CrashTest - RValueFieldAccess.bat]
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo